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