Re: [xsl] Copying XML tags into XSL variable - Urgent

Subject: Re: [xsl] Copying XML tags into XSL variable - Urgent
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Wed, 25 Sep 2002 21:39:42 +0200
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[@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[@attr-name='ROLE']/add-value"/>


J.Pietschmann


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



Current Thread