xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Hodges <harmo...@swbell.net>
Subject RE: Question about document type nodes and JAXP
Date Wed, 18 Oct 2000 16:40:03 GMT
OK, how do I get the first instance of DOMImplementation so I can create the
DocumentType before I create the Document?  I can only find a way to get a
DOMImplementation if I already have a Document.

> -----Original Message-----
> From: Arnaud Le Hors [mailto:lehors@us.ibm.com]
> Sent: Monday, October 16, 2000 8:51 PM
> To: xerces-dev@xml.apache.org
> Cc: general@xml.apache.org; xerces-j-dev@xml.apache.org
> Subject: Re: Question about document type nodes and JAXP
>
>
> In DOM Level 2, you first need to create the doctype node with
> DOMImplementation.createDocumentType() and then create the document node
> with DOMImplementation.createDocument() to which you pass the doctype.
> You can't change the doctype afterwards.
> --
> Arnaud  Le Hors - IBM Cupertino, XML Technology Group
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>


Mime
View raw message