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

Subject: RE: [xsl] xsl:value-of, not shows html tags
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 6 Mar 2003 13:53:53 +0200
Hi,

> <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.
> what is the problem with this , i use <xsl:value-of select="$QHelp"/>

See <http://www.w3.org/TR/xslt#value-of>:

  "The xsl:value-of element is instantiated to create a text node in the result tree--the resulting object is converted to a string as if by a call to the string function."

Use xsl:copy-of instead.

Cheers,

Jarno - Colony 5: Follow your Heart (Hyperheart mix)

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


Current Thread