This is related to my previous question -" Manipulate the output of <xsl:apply-templates>". I want to ask about the specific problem I am looking to address. How do I replace quotes in XSLT with their HTML entities. I want to eventually pass it to Javascript variable with special characters escaped.
+2
A:
You may want to have a look at the Google code project xml2json-xslt, especially the xml2js.xslt template. Perhaps your answer lies in there.
Dan Breslau
2009-04-22 21:07:29