blob: 8c28ea98be894581ca2de13eb3599178338f798c [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
14SAX.characters(
15 This text is about XML, the, 31)
16SAX.getEntity(xml)
17SAX.characters(Extensible Markup Language, 26)
18SAX.reference(xml)
19SAX.characters( and this is an embedded , 25)
20SAX.startElementNs(IMG, NULL, NULL, 0, 1, 0, src='imag...', 5)
21SAX.endElementNs(IMG, NULL, NULL)
22SAX.characters(
23, 1)
24SAX.endElementNs(EXAMPLE, NULL, NULL)
25SAX.endDocument()