Actually I want to build a validation rule that checks whether particular document is of UTF-8 encoding type or not ?
that's why I want to check.

On Thu, Jul 14, 2011 at 7:05 PM, Michael Kay <mike@saxonica.com> wrote:
On 14/07/2011 12:10, Kunal Chauhan wrote:
> Hello,
> I want to check encoding of XQ item which I bind?
> like encoding='UTF-8'.

Saxon doesn't have any information about the encoding of an XML document
- that's all taken care of by the XML parser, and most XML parser APIs
don't reveal it to the application (which shouldn't need to care).

Why do you need to know?

Michael Kay

AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
saxon-help mailing list archived at http://saxon.markmail.org/

Kunal Chauhan