1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/SAXresult/ent2
Daniel Veillard 399156223f - testSAX.c: fixed problem with cdata reporting
- SAXresult/* : updated
Daniel
2000-10-15 10:06:55 +00:00

24 lines
669 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.startElement(EXAMPLE)
SAX.characters(
, 3)
SAX.getEntity(title)
SAX.warning: Entity 'title' not defined
SAX.characters(
This text is about XML, the, 31)
SAX.getEntity(xml)
SAX.warning: Entity 'xml' not defined
SAX.characters( and this is an embedded , 25)
SAX.startElement(IMG, src='image')
SAX.endElement(IMG)
SAX.characters(
, 1)
SAX.endElement(EXAMPLE)
SAX.endDocument()