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 Test of , 11) 10 SAX.characters(&, 1) 11 SAX.characters(amp; behaviour a, 16) 12 SAX.characters(&, 1) 13 SAX.characters(b . 14 , 4) 15 SAX.endElementNs(EXAMPLE, NULL, NULL) 16 SAX.endDocument() 17