1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(doc, , ) 4SAX.entityDecl(newl, 1, (null), (null), 5) 6SAX.getEntity(newl) 7SAX.externalSubset(doc, , ) 8SAX.startElement(doc) 9SAX.getEntity(newl) 10SAX.characters( 11, 1) 12SAX.reference(newl) 13SAX.endElement(doc) 14SAX.endDocument() 15