[Home] [By Thread] [By Date] [Recent Entries]

Subject: Storing and retrieving html tags in a variable
From: Peter Hollingsworth <peter@xxxxxxxxxxxxxxxxx>
Date: Thu, 11 Sep 2003 21:55:13 -0700
This doesn't seem to work:
  <xsl:variable name="doofus">
    <a href="doofus.html">click to go to doofus</a>
  </xsl:variable>
  <xsl:value-of select="$doofus"/>

The resulting output is just "click to go to doofus", not
"<a href="doofus.html">click to go to doofus</a>."

Any way to store html tags in a variable,
or to accomplish this by some other means?

--Peter


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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member