xsl-list
[Top] [All Lists]

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

2003-03-06 04:53:53
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



<Prev in Thread] Current Thread [Next in Thread>