1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.startElementNs(doc, NULL, NULL, 0, 0, 0) 4SAX.characters( 5, 1) 6SAX.processingInstruction(document-start, doc) 7SAX.characters( 8, 1) 9SAX.startElementNs(empty, NULL, NULL, 0, 0, 0) 10SAX.endElementNs(empty, NULL, NULL) 11SAX.characters( 12, 1) 13SAX.processingInstruction(document-end, doc) 14SAX.characters( 15, 1) 16SAX.endElementNs(doc, NULL, NULL) 17SAX.endDocument() 18