1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/result/ent2.sax

27 lines
759 B
Plaintext
Raw Normal View History

1999-06-02 21:44:04 +04:00
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(EXAMPLE, , example.dtd)
1999-06-02 21:44:04 +04:00
SAX.entityDecl(xml, 1, (null), (null), Extensible Markup Language)
SAX.getEntity(xml)
SAX.entityDecl(title, 2, -//MY-TITLE//FR, title.xml, (null))
SAX.unparsedEntityDecl(image, (null), img.gif, GIF)
SAX.externalSubset(EXAMPLE, , example.dtd)
1999-06-02 21:44:04 +04:00
SAX.startElement(EXAMPLE)
SAX.characters(
, 3)
1999-06-02 21:44:04 +04:00
SAX.getEntity(title)
SAX.error: Entity 'title' not defined
SAX.reference(title)
1999-06-02 21:44:04 +04:00
SAX.characters(
This text is about XML, the, 31)
SAX.getEntity(xml)
SAX.characters(Extensible Markup Language, 26)
SAX.reference(xml)
SAX.characters( and this is an embedded , 25)
1999-06-02 21:44:04 +04:00
SAX.startElement(IMG, src='image')
SAX.endElement(IMG)
1999-06-02 21:44:04 +04:00
SAX.characters(
, 1)
SAX.endElement(EXAMPLE)
SAX.endDocument()