This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Looping through attributes
Hi Jody,
> Is it possible to loop through attributes in a simmilar way
> one loops through elements (<xsl:for-each select="expt">) ?
Yes. Just select the attributes rather than the elements. For example:
<xsl:for-each select="@*">
...
</xsl:for-each>
iterates over all the attributes on the current node.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list