<!-- Comment --> <?PI ?> <foobar> <e1>Hi & this is some text inside an element Two 'E' chars as character refs: E E and some 'J': J J</e1> <e2:foo> Text <childfree/> with some <nested>nested elements</nested> and entities "& < >> ' and whitespace </e2:foo> <tag ab="fo<o" bar="foo" baz="blah">This element has attributes</tag> <nochildren a="b" xyz="qrs"/> </foobar>