[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Test condition to check if the current node is the first child
I am customizing <para> and need to write test
condition to check if its parent has tag of <note> and this <para>
is the first child of <note> <xsl:if test="parent::note "> <fo:inline
xsl:use-attribute-sets="admonition.title.properties"><xsl:apply-templates
select=".."
mode="object.title.markup"/><xsl:text>
</xsl:text></fo:inline> </xsl:if> But how to write the second condition: the current
<para> is the first child of its parent? Thanx. |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]