1 SAX.setDocumentLocator() 2 SAX.startDocument() 3 SAX.internalSubset(test, , ) 4 SAX.entityDecl(example, 1, (null), (null), <p>An ampersand (&) may be escaped 5 numerically (&#38;) or with a general entity 6 (&amp;).</p>) 7 SAX.getEntity(example) 8 SAX.externalSubset(test, , ) 9 SAX.startElement(test) 10 SAX.getEntity(example) 11 SAX.startElement(p) 12 SAX.characters(An ampersand (, 14) 13 SAX.characters(&, 1) 14 SAX.characters() may be escaped 15 numerically , 31) 16 SAX.characters(&, 1) 17 SAX.characters(#38;) or with a general entity, 34) 18 SAX.characters(&, 1) 19 SAX.characters(amp;)., 6) 20 SAX.endElement(p) 21 SAX.reference(example) 22 SAX.endElement(test) 23 SAX.endDocument() 24