[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to use caracter " in a String


Subject: Re: [xsl] How to use caracter " in a String
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Tue, 25 Jun 2002 10:40:37 -0400

[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 &quot;Hello&quot;"/>

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 &quot;Hello&quot;' "/>

Cheers,

Tom P


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



Current Thread