1startOfSequence() 2startDocument() 3startElement({http://example.com}e) 4namespaceBinding({http://example.com}empty) 5namespaceBinding({http://example.com/P}p:empty) 6attribute(attr, 1) 7attribute({http://example.com/P}p:attr, ) 8processingInstruction(target, data) 9comment( a comment ) 10startElement({http://example.com}e) 11namespaceBinding({http://example.com}empty) 12namespaceBinding({http://example.com/P}p:empty) 13endElement() 14characters(text ) 15startElement({http://example.com}f) 16namespaceBinding({http://example.com}empty) 17namespaceBinding({http://example.com/P}p:empty) 18endElement() 19characters(text node) 20endElement() 21endDocument() 22endOfSequence() 23