Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] org.w3c.dom.Document.getXmlEncoding() alternative inXOM

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'Subhash Chandran'" <subwiz AT gmail.com>, <XOM-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] org.w3c.dom.Document.getXmlEncoding() alternative inXOM
  • Date: Thu, 27 Nov 2008 09:14:58 -0000

> I recently converted RESTClient (
> http://rest-client.googlecode.com/ ) to use XOM from plain
> DOM. But I am stuck in one method. I used to get the document
> encoding using:
>
> org.w3c.dom.Document.getXmlEncoding()
>
> in plain DOM. After converting to XOM, I am not able to find
> corresponding API for this. Please help me on this.

Why should you need to know the encoding? After converting to XOM, the
original encoding is no longer of any relevance.

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





Archive powered by MHonArc 2.6.24.

Top of Page