Re: How to add HTML code to variables

Subject: Re: How to add HTML code to variables
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Fri, 4 Feb 2000 12:49:52 -0800
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@xxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxx>
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


Current Thread