Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - for-each element's attribbutes? [Thread Next] Re: for-each element's attribbutes?To: NULL Date: 6/1/2004 4:45:00 PM
craig b wrote:
> is it possible to loop thru all the attributes of a given element? I
> would like to display the attribute's name and its value in a
> <TABLE>.
<xsl:for-each select="@*">
<tr>
<td><xsl:value-of select="local-name(.)" /></td>
<td><xsl:value-of select="." /></td>
</tr>
</xsl:for-each>
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
