fix comment case, add whitespace case
DOMTree and DOMNode structures, detecting tag definition and building Node objects