Re: [xsl] XSL special chars output prob.

Subject: Re: [xsl] XSL special chars output prob.
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Tue, 11 Jun 2002 16:37:39 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 11 June 2002 11:05, Mike Brown wrote:
> A trick for including a string-delimiting quote:
>
>   <xsl:variable name="q">'</xsl:variable>
>   <xsl:value-of select="concat('don',$q,'t tread on me.')"/>

Or you could just do it like this:

<xsl:text>don't tread on me.</xsl:text>

Or, if you really want to keep things complicated, like this:

<xsl:value-of select="concat(&quot;don't tread on me.&quot;)"/>

- -- 
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9BonDNSZCJx7tYycRAtxpAJoDDrTnzZ5h6kf2X5XZHiQ20sVogwCgxhAA
EP8pzjIQ176gJIc5EdFa54A=
=b6tI
-----END PGP SIGNATURE-----


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


Current Thread