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

Reply via email to