File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / result / ent2.sax
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:38:00 2012 UTC (12 years, 4 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    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.startElement(EXAMPLE)
   10: SAX.characters(
   11:   , 3)
   12: SAX.getEntity(title)
   13: SAX.error: Entity 'title' not defined
   14: SAX.reference(title)
   15: SAX.characters(
   16:   This text is about XML, the, 31)
   17: SAX.getEntity(xml)
   18: SAX.characters(Extensible Markup Language, 26)
   19: SAX.reference(xml)
   20: SAX.characters( and this is an embedded , 25)
   21: SAX.startElement(IMG, src='image')
   22: SAX.endElement(IMG)
   23: SAX.characters(
   24: , 1)
   25: SAX.endElement(EXAMPLE)
   26: SAX.endDocument()

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>