This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:variable containing xsl:element
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] xsl:variable containing xsl:element
- From: "MUELLER,RAINER (HP-Switzerland,ex1)" <rainer_mueller at hp dot com>
- Date: Fri, 26 Jan 2001 15:01:30 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I have the following problem when assigning a string to a variable. The
string contains HTML code in between.
<xsl:template match="Language/*">
// This works fine - displaying the number bold
This is my account <xsl:element name="b">123.456</xsl:element> now closed
// This doesn't work
<xsl:variable name="wholestring">This is my account <xsl:element
name="b">123.456</xsl:element> now closed</xsl:variable>
<xsl:value-of select="string($wholestring)"/>
</xsl:template>
Any ideas? Thanks a lot,
Rainer
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list