1 2 3 4 5 6 7 8 9 10 11 12 13
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()