Subject: Re: [xsl] Variable containing multiple nodes From: Goetz Bock <bock@xxxxxxxxxxx> Date: Sat, 2 Jun 2001 02:27:26 +0200 |
On Fri, Jun 01 '01 at 17:07, Theodore Weatherly wrote: > I have this XSL: > > <xsl:variable name="str"> > <FONT COLOR="#FF0000">Red</FONT> > </xsl:variable> > <xsl:value-of select="$str"> > > Why does this output: > > Red > > and not: > > <FONT COLOR="#FF0000">Red</FONT> Because you asked it to do so ;-) You might want to try <xsl:copy-of select="$str"/> to get your desired result. Goetz.
Attachment:
pgp00000.pgp
Description: PGP signature
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Variable containing multiple , Theodore Weatherly | Thread | RE: [xsl] Variable containing multi, Michael Kay |
[xsl] Variable containing multiple , Theodore Weatherly | Date | [xsl] XSL and White Space help PLEA, Gutti, Sridhara |
Month |