This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to use caracter " in a String
[Tuan-Dung Cao]
> I want to set the value of a parameter to a String which contain ".
>
> How can i do ? for example in this case
>
> <xsl:value select = "'I want to say "Hello"'" />
>
<xsl:value select='I want to say "Hello"'/>
or
<xsl:value-of select="I want to say "Hello""/>
or, if you want the entire string to be quoted within single quotes (I have
put in a few extra spaces so the single and double quotes can be
distinguished),
<xsl:value-of select " 'I want to say "Hello"' "/>
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list