|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Changing an attribute wherever it may occur
Hi,
Is there a way to change an attribute in any occurrence in a given
element, including children? I have been able to do it recursively, with a
little knowledge of where the attributes might be, but is it possible to do
it all at once? I want to assume that I don't know where the attribute
will be at.
For example,
<A>
<B Action='A'>...</B>
<C>
<D Action='B'>...</D>
</C>
<E>
<F>
<G Action='A'>...</G>
</F>
</E>
</A>
Is it possible to copy <A> while changing all of the @Action attributes to
'M'?
Thanks for your help in advance,
Matt Youngblut
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






