[xsl] Variable containing multiple nodes

Subject: [xsl] Variable containing multiple nodes
From: Theodore Weatherly <tweather@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Jun 2001 17:07:15 -0700
I have this XSL:

  <xsl:variable name="str">
    <FONT COLOR="#FF0000">Red</FONT>
  </xsl:variable>
  <xsl:value-of select="$str">

Why does this output:

  Red

and not:

  <FONT COLOR="#FF0000">Red</FONT>

?

Ted Weatherly                         Usability Engineer, R&D
Slam Dunk Networks, Inc.                    main 650.632.5500
http://www.slamdunknetworks.com           direct 650.632.5594
email: tweather@xxxxxxxxxxxxxxxxxxxx         fax 650.632.5501
 

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


Current Thread