SAX.setDocumentLocator() SAX.startDocument() SAX.startElement(element, name='foo', xmlns:rng='http://example.org/ns/1', xmlns='http://example.org/ns/1') SAX.characters( , 3) SAX.startElement(empty) SAX.endElement(empty) SAX.characters( , 1) SAX.endElement(element) SAX.endDocument()