!foo elements count: 0 !doctype elements count: 0 !foo with id "foo": null !doctype with id "doctype": null !foo div child count: 2 child 1 -- nodeName: #comment nodeValue: foo id="foo" child 2 -- nodeName: #comment nodeValue: !foo !doctype div child count: 1 child 1 -- nodeName: #comment nodeValue: !doctype