StartDocument( ) DTD( text=" '> ]>" dtdName="html" EntityDeclaration( name="ent1" value="foo" ) EntityDeclaration( name="ent2" value="foo
" ) ) StartElement( name="html" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:html" prefix="html" NamespaceDeclaration( prefix="html" namespaceUri="http://www.w3.org/1999/xhtml" ) ) Characters( whitespace text=" " ) StartElement( name="head" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:head" prefix="html" NamespaceDeclaration( namespaceUri="http://www.w3.org/1999/xhtml" ) ) Characters( whitespace text=" " ) StartElement( name="title" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:title" prefix="html" ) Characters( text="test file" ) EndElement( name="title" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:title" ) Characters( whitespace text=" " ) EndElement( name="head" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:head" ) Characters( whitespace text=" " ) StartElement( name="body" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:body" prefix="html" ) Characters( whitespace text=" " ) StartElement( name="p" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:p" prefix="html" Attribute( name="class" qualifiedName="class" value="visible:false" ) ) Characters( text="bar" ) EndElement( name="p" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:p" ) Characters( whitespace text=" " ) EndElement( name="body" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:body" ) Characters( whitespace text=" " ) EndElement( name="html" namespaceUri="http://www.w3.org/1999/xhtml" qualifiedName="html:html" ) EndDocument( )