public org.w3c.dom.Document | createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, org.w3c.dom.DocumentType doctype)
DocumentImpl doc = new WMLDocumentImpl(doctype);
//((DocumentTypeImpl)doctype).ownerDocument = doc;
Element e = doc.createElementNS( namespaceURI, qualifiedName);
doc.appendChild(e);
return doc;
|