[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to add HTML code to variables
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|