This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Escaping single quote
- From: "Manish M. Shah" <manish at catylist dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 12 Jul 2002 11:36:39 -0500
- Subject: [xsl] Escaping single quote
- References: <C0813D854A46F249A72DC407680227A9A2DEEC@mail1.tririga.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi there,
I have a String that I want to send to a function, but there are single
quotes in it. How can I escape the single quotes?
Example:
function('dataLocation/data[@ID='5']')
The '5' is causing XSL to complain. How can I escape the single quotes
around the 5?
Thanks.
Manish
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list