documentgetdoctype01 IBM Retreive the doctype node, create a new Doctype node, call replaceChild and try replacing the docType node with a new docType node. Check if the docType node was correctly replaced with the new one. Neil Delima 2002-06-10