{ "type": "Document", "span": { "start": 0, "end": 95, "ctxt": 0 }, "mode": "quirks", "children": [ { "type": "Element", "span": { "start": 0, "end": 95, "ctxt": 0 }, "tagName": "html", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Element", "span": { "start": 0, "end": 68, "ctxt": 0 }, "tagName": "head", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Element", "span": { "start": 0, "end": 50, "ctxt": 0 }, "tagName": "template", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Element", "span": { "start": 10, "end": 50, "ctxt": 0 }, "tagName": "form", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Element", "span": { "start": 16, "end": 32, "ctxt": 0 }, "tagName": "input", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 0, "end": 0, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "name", "value": "q" } ], "children": [], "content": null }, { "type": "Element", "span": { "start": 39, "end": 50, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 44, "end": 50, "ctxt": 0 }, "value": "second" } ], "content": null } ], "content": null } ], "content": null }, { "type": "Text", "span": { "start": 67, "end": 68, "ctxt": 0 }, "value": "\n" } ], "content": null }, { "type": "Element", "span": { "start": 0, "end": 95, "ctxt": 0 }, "tagName": "body", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 68, "end": 95, "ctxt": 0 }, "value": "#document-fragment\ntemplate" } ], "content": null } ], "content": null } ] }