This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XSL special chars output prob.


-----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]