SAX.setDocumentLocator() SAX.startDocument() SAX.internalSubset(doc, , ) SAX.entityDecl(newl, 1, (null), (null), ) SAX.getEntity(newl) SAX.externalSubset(doc, , ) SAX.startElementNs(doc, NULL, NULL, 0, 0, 0) SAX.getEntity(newl) SAX.characters( , 1) SAX.reference(newl) SAX.endElementNs(doc, NULL, NULL) SAX.endDocument()