Re: [xsl] UTF characters

Subject: Re: [xsl] UTF characters
From: Bill Michell <bill.michell@xxxxxxxxxxxxxx>
Date: Wed, 31 Mar 2010 13:12:06 +0100
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.

Current Thread