How to escape XML content with XSL to safely output it as JSON? How to escape XML content with XSL to safely output it as JSON? json json

How to escape XML content with XSL to safely output it as JSON?


Sorry, I have myself found the answer on Google (literaly):

http://code.google.com/p/xml2json-xslt/