Subject: Re: [xsl] Listing all element/attributes/attribute values From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Thu, 07 Jul 2005 15:31:16 +0200 |
What I want to do is with any well-formed XML document list all the elements, attributes and attribute-values in a sorted list.
<xsl:key name="element" match="*" use="name()"/> <xsl:key name="attribute" match="@*" use="concat(name(..),name())"/> <xsl:key name="attributevalue" match="@*" use="concat(name(..),name(),.)"/>
Is this even easier in xslt2?Grouping is made easier in xslt2, I doubt not you will soon get another reply with an xslt2 solution...
regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) Spread the wiki (http://www.wikipedia.org)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Listing all element/attri, James Cummings | Thread | [xsl] Sorting Problem, Dhami, Ankit \(UMR S |
Re: [xsl] Listing all element/attri, David Carlisle | Date | [xsl] Sorting Problem, Dhami, Ankit \(UMR S |
Month |