1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-12 09:17:37 +03:00
libxml2/SAXresult/ent2

34 lines
878 B
Plaintext
Raw Normal View History

1999-06-02 21:44:04 +04:00
SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(EXAMPLE, (null), example.dtd)
SAX.resolveEntity( , 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.entityDecl(image, 3, (null), img.gif, GIF)
SAX.startElement(EXAMPLE)
SAX.characters(
&title;
This text is abou, 3)
SAX.getEntity(title)
SAX.isStandalone()
SAX.hasInternalSubset()
SAX.hasExternalSubset()
SAX.error: Entity 'title' not defined
SAX.characters(
This text is about XML, the, 31)
SAX.getEntity(xml)
SAX.isStandalone()
SAX.hasInternalSubset()
SAX.hasExternalSubset()
SAX.error: Entity 'xml' not defined
SAX.characters( and this is an embedded <IMG , 25)
SAX.startElement(IMG, src='image')
SAX.endElement(IMG)
1999-06-02 21:44:04 +04:00
SAX.characters(
</EXAMPLE>
, 1)
SAX.endElement(EXAMPLE)
SAX.endDocument()