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