1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.startElement(a, test='passed') 4 SAX.characters(content, 7) 5 SAX.endElement(a) 6 SAX.endDocument() 7