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