Formatted node to variable

Subject: Formatted node to variable
From: "Hakan Pettersson" <hakanxsl15@xxxxxxxxxxx>
Date: Mon, 09 Oct 2000 17:47:25 GMT
In order to get a pop-up window using JavaScript I want to have formatted text assigned to a variable.

If "ListItem" contains "some text" I get:
"Before some text After"

But I want:
"Before <B>some text</B> After"

Is it possible?


My stylesheet: <xsl:template match = "List"> <xsl:variable name="var"> <xsl:apply-templates select="ListItem"/> </xsl:variable> <xsl:value-of select="$var"/> </xsl:template>

<xsl:template match = "ListItem">
	Before
	<B>
		<xsl:value-of select="."/>
	</B>
	After
</xsl:template>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.


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



Current Thread