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.startElement(doc) SAX.getEntity(newl) SAX.characters( , 1) SAX.reference(newl) SAX.endElement(doc) SAX.endDocument()