1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.startElement(element, name='foo', xmlns:rng='http://example.org/ns/1', xmlns='http://example.org/ns/1') 4SAX.characters( 5 , 3) 6SAX.startElement(empty) 7SAX.endElement(empty) 8SAX.characters( 9, 1) 10SAX.endElement(element) 11SAX.endDocument() 12