1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.startElement(html) 4SAX.characters( 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.characters( 19, 1) 20SAX.endElement(html) 21SAX.characters( 22, 1) 23SAX.endDocument() 24