[xsl] RE: Javascript quote escaping xx = (' ... \' ... ')

Subject: [xsl] 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