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.getEntity(xml) 8 SAX.startElementNs(EXAMPLE, NULL, NULL, 0, 2, 0, prop1='a...', 7, prop2='&xml...', 5) 9 SAX.characters( 10 Test of entities in attribu, 35) 11 SAX.endElementNs(EXAMPLE, NULL, NULL) 12 SAX.endDocument() 13