StartDocument( ) DTD( text=" ]>" dtdName="footype" ) StartElement( name="body" qualifiedName="body" ) Characters( whitespace text=" " ) StartElement( name="foo" namespaceUri="http://qt.nokia.com" qualifiedName="foo" NamespaceDeclaration( namespaceUri="http://qt.nokia.com" ) ) EndElement( name="foo" namespaceUri="http://qt.nokia.com" qualifiedName="foo" ) Characters( whitespace text=" " ) StartElement( name="bar" namespaceUri="http://qt.nokia.com" qualifiedName="pre:bar" prefix="pre" NamespaceDeclaration( prefix="pre" namespaceUri="http://qt.nokia.com" ) ) EndElement( name="bar" namespaceUri="http://qt.nokia.com" qualifiedName="pre:bar" ) Characters( whitespace text=" " ) EndElement( name="body" qualifiedName="body" ) EndDocument( )