StartDocument(1.0, utf-8)
StartElement({urn:example:namespace}p:data)
Characters("\n  ")
StartElement({urn:example:namespace}p:datum [id="34"])
Characters("\n    ")
StartElement({urn:example:namespace}p:name)
Characters("Name")
EndElement({urn:example:namespace}p:name)
Characters("\n    ")
StartElement({urn:example:double}d:name)
Characters("Another name")
EndElement({urn:example:double}d:name)
Characters("\n    ")
StartElement({urn:example:double}d:arg)
Characters("0.3")
EndElement({urn:example:double}d:arg)
Characters("\n    ")
StartElement({urn:example:double}d:arg)
Characters("0.2")
EndElement({urn:example:double}d:arg)
Characters("\n    ")
StartElement({urn:example:namespace}p:arg)
Characters("0.1")
EndElement({urn:example:namespace}p:arg)
Characters("\n    ")
StartElement({urn:example:namespace}p:arg)
Characters("0.01")
EndElement({urn:example:namespace}p:arg)
Characters("\n    ")
StartElement({urn:example:header}h:header [name="Header-1"])
Characters("header 1 value")
EndElement({urn:example:header}h:header)
Characters("\n    ")
StartElement({urn:example:header}h:header [name="Header-2"])
Characters("\n      Some bigger value\n    ")
EndElement({urn:example:header}h:header)
Characters("\n  ")
EndElement({urn:example:namespace}p:datum)
Characters("\n")
EndElement({urn:example:namespace}p:data)
EndDocument
