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

Subhash Chandran subwiz at gmail.com
Thu Nov 27 04:56:56 EST 2008


Why? My purpose is just to find the encoding and set it in the
RESTClient UI--I am not processing any thing else in this XML file.

Subhash.

On Thu, Nov 27, 2008 at 2:44 PM, Michael Kay <mike at saxonica.com> wrote:
>> 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/
>
>



-- 
Regards,
Subhash Chandran S

http://rest-client.googlecode.com/


More information about the XOM-interest mailing list