Edit

kc3-lang/libxml2/SAXresult/ent2

Branch :

  • Show log

    Commit

  • Author : Daniel Veillard
    Date : 1999-07-27 19:52:06
    Hash : e2d034d3
    Message : Bunch of updates, progressive parsing, updates on HTML, XPAth and docs, Daniel

  • SAXresult/ent2
  • SAX.setDocumentLocator()
    SAX.startDocument()
    SAX.internalSubset(EXAMPLE, (null), example.dtd)
    SAX.resolveEntity( , 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.entityDecl(image, 3, (null), img.gif, GIF)
    SAX.startElement(EXAMPLE)
    SAX.characters(
      , 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 , 25)
    SAX.startElement(IMG, src='image')
    SAX.endElement(IMG)
    SAX.characters(
    , 1)
    SAX.endElement(EXAMPLE)
    SAX.endDocument()