In 2.0
string-to-codepoints($char) gt 32
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Alan Gutierrez [mailto:alan-xsl-list(_at_)engrm(_dot_)com]
Sent: 27 September 2005 08:59
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Character Codes
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>
--~--
--~------------------------------------------------------------------
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>
--~--