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.startElement(EXAMPLE, prop1='a&b', prop2='&xml;') 9SAX.characters( 10 Test of entities in attribu, 35) 11SAX.endElement(EXAMPLE) 12SAX.endDocument() 13