xsl-list
[Top] [All Lists]

Re: [xsl] UTF characters

2010-03-31 07:18:52

On 31 Mar 2010, at 13:02, Siddhi Thakkar wrote:

Dear All,
I would like to know if there are any built-in ways in XSLT for the processor 
to know about the unicode characters in input xml. Could you please help?
Thanks much,
Siddhi 

XSLT knows about *all* the characters in the input XML. It doesn't care about 
whether they are unicode or not - it processes all of them.

The XML parser (which is usually run before the XSLT processor gets going) 
would have to understand "unicode characters", whatever you actually mean by 
that - but its job is to make any encoding details invisible to the downstream 
system.

Or was there something more specific you wanted to know? Perhaps about any 
numeric character references? If so, you are out of luck - the XSLT processor 
has no idea what the original encoding of any text was.
--~------------------------------------------------------------------
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>