1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.startElement(doc) 4 SAX.characters( 5 , 1) 6 SAX.pcdata(<greeting>Hello, wor, 34) 7 SAX.characters( 8 , 1) 9 SAX.endElement(doc) 10 SAX.endDocument() 11