[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Character Codes

Subject: RE: Character Codes
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 27 Sep 2005 09:11:53 +0100
xslt character codes
In 2.0

string-to-codepoints($char) gt 32

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Alan Gutierrez [mailto:alan-xsl-list@xxxxxxxxx] 
> Sent: 27 September 2005 08:59
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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@xxxxxxxxx
>     - http://engrm.com/blogometer/index.html
>     - http://engrm.com/blogometer/rss.2.0.xml

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.