RE: [xsl] xsl:value-of, not shows html tags

Subject: RE: [xsl] xsl:value-of, not shows html tags
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Thu, 6 Mar 2003 11:42:49 -0000
> <xsl:variable name="QHelp"><b>Preblem : </b>this is solution 
> <br/> more text
> here </xsl:variable>
> 
> when is output this variable, I cant see the my text bold and 
> no <br> works.

<xsl:value-of> will give you the string value of the node,

<xsl:copy-of> will give you a deep-copy of the node, so use

<xsl:copy-of select="$QHelp"/>

cheers
andrew

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.458 / Virus Database: 257 - Release Date: 24/02/2003
 

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


Current Thread