mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-08 21:17:39 +03:00
4b1577f14a
* Makefile.am results/*.sax SAXResult/*: removing the SAXresults tree, keeping result in the same tree, added SAXtests to the default "make tests" Daniel
26 lines
738 B
Plaintext
26 lines
738 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(EXAMPLE, , example.dtd)
|
|
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)
|
|
SAX.startElement(EXAMPLE)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.getEntity(title)
|
|
SAX.error: Entity 'title' not defined
|
|
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)
|
|
SAX.startElement(IMG, src='image')
|
|
SAX.endElement(IMG)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(EXAMPLE)
|
|
SAX.endDocument()
|