xsl-list
[Top] [All Lists]

Re: Copying XML tags into XSL variable - Urgent

2002-09-25 12:39:42
Vignesh Balan R wrote:
From the above XML i want to copy the following text
...
into a variable in XSL. I want the whole thing to be stored as a
text(not only the parsed values, but all the tags too) in the variable.

I have tried the following using <xsl:apply-templates>.
<xsl::apply-templates
select="modify-attr[(_at_)attr-name='ROLE']/add-value"/>

But it doesnt copy the whole text, instead copies only the first
value("ole" in the above modify-attr).

Any pointers of how to do this, would be greatly appreciated.

Try <xsl:copy-of select="modify-attr[(_at_)attr-name='ROLE']/add-value"/>

J.Pietschmann


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>