xsl-list
[Top] [All Lists]

RE: output an apostrophe

2002-11-01 07:06:32
how can output an apostrophe ? ' 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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>