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: "Subhash Chandran" <subwiz AT gmail.com>
  • To: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] org.w3c.dom.Document.getXmlEncoding() alternative inXOM
  • Date: Thu, 27 Nov 2008 15:26:56 +0530

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/




Archive powered by MHonArc 2.6.24.

Top of Page