This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to add HTML code to variables
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: How to add HTML code to variables
- From: "Steve Muench" <smuench at us dot oracle dot com>
- Date: Fri, 4 Feb 2000 12:49:52 -0800
- References: <F1D7252D67B4D31190F60050044E5C2111ED@WTS1>
- Reply-To: xsl-list at mulberrytech dot com
You'll want to try:
<xsl:copy-of select="$t1"/>
to preserve the structure of your
result-tree-fragment valued variable.
_________________________________________________________
Steve Muench, Consulting Product Manager & XML Evangelist
Business Components for Java Development Team
http://technet.oracle.com/tech/java
http://technet.oracle.com/tech/xml
----- Original Message -----
From: "Harald Normann" <harald.normann@wts.se>
To: <xsl-list@mulberrytech.com>
Sent: Friday, February 04, 2000 4:40 AM
Subject: How to add HTML code to variables
| Hi,
|
| does anyone know how to add HTML code to variables.
| I tried the following:
|
| <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.
|
|
| TIA
|
| /Harald
|
|
| XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list