Subject: Re: [xsl] Looping through attributes From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> Date: Wed, 21 Aug 2002 17:08:47 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Looping through attributes, jody | Thread | RE: [xsl] 'interleaved' numbering, Andrew Welch |
RE: [xsl] SelectSingle Node, Karl Stubsjoen | Date | Re: [xsl] 'interleaved' numbering, Jeni Tennison |
Month |