This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Escaping characters from my XML
- To: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Subject: Escaping characters from my XML
- From: Lee Bierman <lbierman at i-mind dot com>
- Date: Wed, 27 Sep 2000 14:05:43 -0700
- Reply-To: xsl-list at mulberrytech dot com
Hello All-
Here is my issue:
My XML looks like this: <name>John "J" Smith </name>
My XSL looks like this: var myVariable = "<xsl:value-of select="name"/>"
What's rendered is : var myVariable = "John "J" Smith"
Some how I need to deal with the fact that there are quotes in my data. This
bombs out on me every time. Is there a way to escape it in XSL? How can I do
this?
Thanks in advance for the help.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list