Elena,

how else can I get DTD from document after I parse it using DOM parser, so I
don't loose DTD from document when I try to serialize it? I noticed
DOCUMENT_TYPE node is in the DOM tree after parsing but the only information
I can get from it is node name. Any suggestions? Thank you

Thank you.

Tomas

-----Original Message-----
From: Elena Litani [mailto:[EMAIL PROTECTED]
Sent: Friday, December 21, 2001 12:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Xerces 2.0.0 - DocumentType.getInternalSubset() does it
work?!


Cirip Tomas wrote:
> I switched from Xerces 1.4.3 to Xerces 2.0.0 Beta 4 and I noticed
following
> differences:
> 
> 1.DocumentType.getInternalSubset() doesn't return internal DTD
>   Is it bug or is is some setting on parser that I am missing?! Thank you

This information is not longer available. However, we will look into
this during next month.

> 2.Document.getVersion() and Document.getEncoding() methods are not on the
> document anymore?
> Where can I get Document version and encoding?

We've removed those methods from the Document interface since those
methods belong to DOM L3. 
To get encoding and version you should use Xerces implementation of
Document: DocumentImpl.


--
Elena Litani / IBM Toronto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to