1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.internalSubset(EXAMPLE, , example.dtd) 4 SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language) 5 SAX.getEntity(xml) 6 SAX.externalSubset(EXAMPLE, , example.dtd) 7 SAX.startElementNs(EXAMPLE, NULL, NULL, 0, 0, 0) 8 SAX.characters( 9 , 5) 10 SAX.getEntity(xml) 11 SAX.characters(Extensible Markup Language, 26) 12 SAX.reference(xml) 13 SAX.characters( 14 , 1) 15 SAX.endElementNs(EXAMPLE, NULL, NULL) 16 SAX.endDocument() 17