nodeDocumentNodeName NIST The string returned by the "getNodeName()" method for a Document Node is "#document". Retrieve the DOM document and check the string returned by the "getNodeName()" method. It should be equal to "#document". Mary Brady 2001-08-17