Node::HasChildNodes and Node::HasAttributes