nodeCommentNodeType NIST The "getNodeType()" method for a Comment Node returns the constant value 8. Retrieve the nodes from the document and check for a comment node and invoke the "getNodeType()" method. This should return 8. Mary Brady 2001-08-17