SAX.setDocumentLocator() SAX.startDocument() SAX.startElementNs(element, NULL, 'http://example.org/ns/1', 2, xmlns:rng='http://example.org/ns/1', xmlns='http://example.org/ns/1', 1, 0, name='foo"...', 3) SAX.characters( , 3) SAX.startElementNs(empty, NULL, 'http://example.org/ns/1', 0, 0, 0) SAX.endElementNs(empty, NULL, 'http://example.org/ns/1') SAX.characters( , 1) SAX.endElementNs(element, NULL, 'http://example.org/ns/1') SAX.endDocument()