blob: d7c800217b1f38be99b382aa3933fc45d675d102 [file] [log] [blame]
Daniel Veillard4a5a9642005-06-27 10:40:55 +00001SAX.setDocumentLocator()
2SAX.startDocument()
3SAX.internalSubset(EXAMPLE, , example.dtd)
4SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
5SAX.getEntity(xml)
6SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
7SAX.unparsedEntityDecl(image, (null), img.gif, GIF)
8SAX.externalSubset(EXAMPLE, , example.dtd)
9SAX.startElementNs(EXAMPLE, NULL, NULL, 0, 0, 0)
10SAX.characters(
11 , 3)
12SAX.getEntity(title)
13SAX.error: Entity 'title' not defined
Daniel Veillard53bd1f32005-08-24 14:46:07 +000014SAX.reference(title)
Daniel Veillard4a5a9642005-06-27 10:40:55 +000015SAX.characters(
16 This text is about XML, the, 31)
17SAX.getEntity(xml)
18SAX.characters(Extensible Markup Language, 26)
19SAX.reference(xml)
20SAX.characters( and this is an embedded , 25)
21SAX.startElementNs(IMG, NULL, NULL, 0, 1, 0, src='imag...', 5)
22SAX.endElementNs(IMG, NULL, NULL)
23SAX.characters(
24, 1)
25SAX.endElementNs(EXAMPLE, NULL, NULL)
26SAX.endDocument()