RE: [xsl] output an apostrophe

Subject: RE: [xsl] output an apostrophe
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 1 Nov 2002 14:06:32 -0000
> how can output an apostrophe ? &apos; does not work 
> correctly... I want to output the following as a literal string
> 
> child::*[name()='mntoption']/@value
> 
> please help... thanks in advance...	
> 

the simplest way is:

<xsl:variable
name="x">child::*[name()='mntoption']/@value</xsl:variable>
<xsl:value-of select="$x"/>

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread