1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.startElement(html) 4 SAX.characters( 5 , 1) 6 SAX.startElement(body) 7 SAX.characters( 8 , 1) 9 SAX.startElement(form) 10 SAX.characters( 11 , 3) 12 SAX.startElement(input, type='text', name='test', value='š') 13 SAX.endElement(input) 14 SAX.characters( 15 , 1) 16 SAX.endElement(form) 17 SAX.characters( 18 , 1) 19 SAX.endElement(body) 20 SAX.characters( 21 , 1) 22 SAX.endElement(html) 23 SAX.endDocument() 24