attribute position help !!!2003-10-14 07:21:47Hi all,
Is there any function allowing to know the position of a given attribute ?
example:
is it wright to write :
--------------------------------------------------------------------
<xsl:for-each select="element">
<xsl:if test="name(@[2])='type'">
<xsl:text> the postion of the type attribute is 2 </xsl:text>
</xsl:if>
</xsl:for-each>
--------------------------------------------------------------------
Thanks
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|
||||||||||||||||