+- #document[@NodeName = "#document"]
   +- #declaration[@Name = "xml", @NodeName = "#declaration"]
   +- #text[@NodeName = "#text", @Text = " ", @WholeText = "\n"]
   +- root[@NodeName = "root"]
   |  +- #text[@NodeName = "#text", @Text = " ", @WholeText = "\n  "]
   |  +- child[@NodeName = "child", @attr1 = "value1"]
   |  |  +- #text[@NodeName = "#text", @Text = "text & entities", @WholeText = "text & entities"]
   |  +- #text[@NodeName = "#text", @Text = " ", @WholeText = "\n"]
   +- #text[@NodeName = "#text", @Text = " ", @WholeText = "\n"]
