[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: how to rename attributes and restrict selection?
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Tue, 31 May 2005 11:29:47 +0100
> Apart from using xslt to transform the structure of my original XML
> document, i want to:
> 1) only transform those elements that are "part of a list" (i
> need to be
> able to specify/restrict the selection to the elements "B"
> with attributes
> "C" and "D" in the example below).
> 2) i want to rename the attribute of these selected elements
> (so attribute
> "C" will be renamed into "renamed_C", etc.)
>
> Is this possible??

Check out the "identity transform"

http://www.dpawson.co.uk/xsl/sect2/identity.html

Cheers
andrew

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member