1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.startElement(html) 4SAX.ignorableWhitespace( 5, 1) 6SAX.startElement(body) 7SAX.characters( 8, 1) 9SAX.startElement(pre) 10SAX.startElement(a, href='toto') 11SAX.endElement(a) 12SAX.startElement(img, src='titi') 13SAX.endElement(img) 14SAX.endElement(pre) 15SAX.characters( 16, 1) 17SAX.endElement(body) 18SAX.ignorableWhitespace( 19, 1) 20SAX.endElement(html) 21SAX.ignorableWhitespace( 22, 1) 23SAX.endDocument() 24