|
Subject: [xsl] Changing an attribute wherever it may occur From: mjyoungblut@xxxxxxx Date: Thu, 27 Sep 2001 12:51:41 -0500 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: How to use an XML-based L, Dimitre Novatchev | Thread | RE: [xsl] Changing an attribute whe, Chris Bayes |
| RE: [xsl] SAXON and UTF-8, Julian Reschke | Date | RE: [xsl] How to use an XML-based L, Chris Bayes |
| Month |