[xsl] Storing and retrieving html tags in a variable

Subject: [xsl] 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