Re: How to access all attributes and their values ?2004-11-01 13:55:35Hi Matt, <xsl:for-each select="\\elem[(_at_)]"> Attribute name=<xsl:copy-of select="extractattrname(.)" /> Attribute value=<xsl:copy-of select="extarcteattrvalue(.)" /> </xsl:for-each> Translated into XSLT, this is: <xsl:for-each select="//elem/@*"> Attribute name=<xsl:value-of select="name(.)" /> Attribute value=<xsl:value-of select="." /> </xsl:for-each> Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/
|
|