{ "type": "Document", "span": { "start": 1, "end": 52, "ctxt": 0 }, "mode": "quirks", "children": [ { "type": "Element", "span": { "start": 0, "end": 0, "ctxt": 0 }, "tagName": "html", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Element", "span": { "start": 0, "end": 0, "ctxt": 0 }, "tagName": "head", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [], "content": null, "isSelfClosing": false }, { "type": "Element", "span": { "start": 0, "end": 0, "ctxt": 0 }, "tagName": "body", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Element", "span": { "start": 1, "end": 52, "ctxt": 0 }, "tagName": "foo", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 6, "end": 15, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "bar", "rawName": "bar", "value": "baz", "rawValue": "\"baz\"" } ], "children": [ { "type": "Element", "span": { "start": 16, "end": 46, "ctxt": 0 }, "tagName": "potato", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 24, "end": 36, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "quack", "rawName": "quack", "value": "duck", "rawValue": "\"duck\"" } ], "children": [], "content": null, "isSelfClosing": false } ], "content": null, "isSelfClosing": false } ], "content": null, "isSelfClosing": false } ], "content": null, "isSelfClosing": false } ] }