xsl-list
[Top] [All Lists]

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

2003-03-06 04:54:52
Hi Qazi,

<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"/>

Use <xsl:copy-of> rather than <xsl:value-of>. <xsl:value-of> gives you
the string value of whatever you select, and the string value of
something is always a plain string without any structure.
<xsl:copy-of> gives you an exact copy of whatever you select.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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



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