[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] attribute position help !!!


Subject: [xsl] attribute position help !!!
From: "belangour abdessamad" <abdessamad.belangour@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Oct 2003 16:21:47 +0200

Hi 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



Current Thread