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:[EMAIL PROTECTED] > Sent: Monday, October 16, 2000 8:51 PM > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >