blob: 7a3e3c608c7b1f59da2b292da407cd8b040e44a1 [file] [log] [blame]
Daniel Veillard011b63c1999-06-02 17:44:04 +00001SAX.setDocumentLocator()
2SAX.startDocument()
3SAX.internalSubset(EXAMPLE, (null), example.dtd)
4SAX.resolveEntity((null), example.dtd)
5SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
6SAX.getEntity(xml)
7SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
8SAX.entityDecl(image, 3, (null), img.gif, GIF)
9SAX.startElement(EXAMPLE)
10SAX.characters(
11 &title;
12 This text is abou, 3)
13SAX.getEntity(title)
14SAX.isStandalone()
15SAX.hasInternalSubset()
16SAX.hasExternalSubset()
17SAX.error: Entity 'title' not defined
18SAX.characters(
19 This text is about XML, the, 31)
20SAX.getEntity(xml)
21SAX.isStandalone()
22SAX.hasInternalSubset()
23SAX.hasExternalSubset()
24SAX.error: Entity 'xml' not defined
25SAX.characters( and this is an embedded <IMG , 25)
26SAX.startElement(IMG, src='image')
27SAX.endElement((null))
28SAX.characters(
29</EXAMPLE>
30
31, 1)
32SAX.endElement(EXAMPLE)
33SAX.endDocument()