{
  "type": "Document",
  "span": {
    "start": 1,
    "end": 77
  },
  "children": [
    {
      "type": "ProcessingInstruction",
      "span": {
        "start": 1,
        "end": 38
      },
      "target": "xml",
      "data": "version='1.0'encoding='UTF-8'"
    },
    {
      "type": "Element",
      "span": {
        "start": 39,
        "end": 77
      },
      "tagName": "root",
      "attributes": [],
      "children": [
        {
          "type": "Text",
          "span": {
            "start": 45,
            "end": 50
          },
          "data": "\n    ",
          "raw": "\n    "
        },
        {
          "type": "Element",
          "span": {
            "start": 50,
            "end": 69
          },
          "tagName": "foo",
          "attributes": [],
          "children": [
            {
              "type": "ProcessingInstruction",
              "span": {
                "start": 55,
                "end": 63
              },
              "target": "",
              "data": "foo"
            }
          ]
        },
        {
          "type": "Text",
          "span": {
            "start": 69,
            "end": 70
          },
          "data": "\n",
          "raw": "\n"
        }
      ]
    }
  ]
}
