This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to add HTML code to variables


> <xsl:variable name="t1">
>   <b>hello</b>
> </xsl:variable>
>
> When accessing the variable t1 I only get the value "hello"; the HTML code
> is removed.

I don't know if this is the best way to do it but this works:

<xsl:variable name="t1">
  &lt;b&gt;hello&lt;/b&gt;
</xsl:variable>




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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]