[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: Javascript quote escaping xx = (' ... \' ... ')
From: "Bovy, Stephen J" <STEPHEN.Bovy@xxxxxx>
Date: Wed, 1 Jun 2005 20:04:51 -0400
I need to imbed some xsl ouput within a
JavaScript string literal assignment statement, for example:

txt += '<xsl:value-of select="." />'

Is there a way to configure my xsl style sheet to automatically

convert single quote occurances to javascript escape format :

(')  to --> (\') ???????

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member