|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Variable containing multiple nodes
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








