How do I put the proper test in for the first Node I encounter, add a
top border:?
<xsl:template match="category">
<xsl:choose>
<xsl:when test="first::category">
<xsl:element name="h3">
<xsl:attribute name="style">border-top:
1px</xsl:attribute>
<xsl:value-of select="@display_name"/>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:element name="h3">
<xsl:value-of select="@display_name"/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--