[xsl] Character Codes

Subject: [xsl] Character Codes
From: Alan Gutierrez <alan-xsl-list@xxxxxxxxx>
Date: Tue, 27 Sep 2005 03:58:35 -0400
    Using XSLT 2.0...

    I'm trying to output as text a JavaScript string, and I'd like
    to escape it correctly. In the code that I see on the JSON
    pages, the different implementations of these JavaScript
    stringifiers appear to convert a character that is greater than
    or equals to ' ' to a unicode escape.

    How would I determine if a character was greater than ' ' in
    XSLT? I can't seem to find a function in XPath or XSLT specs.

Alan Gutierrez - alan@xxxxxxxxx
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

Current Thread