1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.internalSubset(EXAMPLE, , example.dtd) 4SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language) 5SAX.getEntity(xml) 6SAX.externalSubset(EXAMPLE, , example.dtd) 7SAX.getEntity(xml) 8SAX.startElementNs(EXAMPLE, NULL, NULL, 0, 2, 0, prop1='a...', 7, prop2='&xml...', 5) 9SAX.characters( 10 Test of entities in attribu, 35) 11SAX.endElementNs(EXAMPLE, NULL, NULL) 12SAX.endDocument() 13