|
Subject: RE: [xsl] Variable containing multiple nodes From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Sat, 2 Jun 2001 12:40:36 +0100 |
> 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 <xsl:value-of> converts the result to a string. Use <xsl:copy-of> instead. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Variable containing multi, Goetz Bock | Thread | [xsl] XSL and White Space help PLEA, Gutti, Sridhara |
| RE: [xsl] XSL and White Space help , Piers Haken | Date | RE: [xsl] XSL and Date, Gutti, Sridhara |
| Month |