Returns the type of the node; for example, a string.
Example using getNodeType():
strType = nodMyNode.getNodeType()