xsl-list
[Top] [All Lists]

Character Codes

2005-09-27 00:58:35
    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(_at_)engrm(_dot_)com
    - http://engrm.com/blogometer/index.html
    - http://engrm.com/blogometer/rss.2.0.xml

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>