xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Escaping characters from my XML


Subject: Escaping characters from my XML
From: Lee Bierman <lbierman@xxxxxxxxxx>
Date: Wed, 27 Sep 2000 14:05:43 -0700

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



Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor