1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.startElement(html, xmlns='http://www.w3.org/1999/xhtml') 4 SAX.characters( 5 , 1) 6 SAX.pcdata(, 0) 7 SAX.characters( 8 , 1) 9 SAX.endElement(html) 10 SAX.endDocument() 11