This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSL special chars output prob.
- From: Peter Davis <pdavis152 at attbi dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 11 Jun 2002 16:37:39 -0700
- Subject: Re: [xsl] XSL special chars output prob.
- References: <200206111805.g5BI5Y3h007788@chilled.skew.org>
- Reply-to: xsl-list at lists dot mulberrytech dot com
-----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("don't tread on me.")"/>
- --
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