blob: 39daeac3c33421565ba73465359f7954a761cf93 [file] [log] [blame]
Daniel Veillard011b63c1999-06-02 17:44:04 +00001SAX.setDocumentLocator()
2SAX.startDocument()
Daniel Veillard39915622000-10-15 10:06:55 +00003SAX.internalSubset(EXAMPLE, , example.dtd)
Daniel Veillard011b63c1999-06-02 17:44:04 +00004SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
5SAX.getEntity(xml)
6SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
Daniel Veillard7d2c2761999-10-11 15:09:51 +00007SAX.unparsedEntityDecl(image, (null), img.gif, GIF)
Daniel Veillard011b63c1999-06-02 17:44:04 +00008SAX.startElement(EXAMPLE)
9SAX.characters(
Daniel Veillarde2d034d1999-07-27 19:52:06 +000010 , 3)
Daniel Veillard011b63c1999-06-02 17:44:04 +000011SAX.getEntity(title)
Daniel Veillard7d2c2761999-10-11 15:09:51 +000012SAX.warning: Entity 'title' not defined
Daniel Veillard011b63c1999-06-02 17:44:04 +000013SAX.characters(
14 This text is about XML, the, 31)
15SAX.getEntity(xml)
Daniel Veillard7d2c2761999-10-11 15:09:51 +000016SAX.warning: Entity 'xml' not defined
Daniel Veillarde2d034d1999-07-27 19:52:06 +000017SAX.characters( and this is an embedded , 25)
Daniel Veillard011b63c1999-06-02 17:44:04 +000018SAX.startElement(IMG, src='image')
Daniel Veillard97fea181999-06-26 23:07:37 +000019SAX.endElement(IMG)
Daniel Veillard011b63c1999-06-02 17:44:04 +000020SAX.characters(
Daniel Veillard011b63c1999-06-02 17:44:04 +000021, 1)
22SAX.endElement(EXAMPLE)
23SAX.endDocument()