-----Original Message-----
From: Eric Hodges [mailto:eric.hodges@mongoosetech.com]
Sent: Wednesday, October 18, 2000 12:16 PM
To: xerces-j-dev@xml.apache.org
Subject: Yet another question about creating a Document
After I call DOMImplementation.createDocument(null, "test", docType), the
resulting document already has a docElement. It's an Element with the name
"test" in it. Since Documents can't have more than one docElement, I can't
add any elements to the new Document.
How do I make a document and specify the document type?? Anyone have any
examples?
|