1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SAX.setDocumentLocator() SAX.startDocument() SAX.startElement(root) SAX.characters( , 3) SAX.startElement(foo, xmlns='http://abc') SAX.endElement(foo) SAX.characters( , 3) SAX.startElement(bar) SAX.endElement(bar) SAX.characters( , 1) SAX.endElement(root) SAX.endDocument()