Returns the node type ("Document", "Element", "Text", "Comment" or "Attr").
//...
//doc = Document
var textnode = doc.createText("this is text");
job.log(1, textnode.getNodeType()); //"Text"
Returns the document object in which this node resides.
Returns this node's parent node or null if this node is a document or if this node is not currently part of a node hierarchy.