1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-27 03:21:26 +03:00
libxml2/result/dtd12.sax
Daniel Veillard 4b1577f14a removing the SAXresults tree, keeping result in the same tree, added
* Makefile.am results/*.sax SAXResult/*: removing the SAXresults
  tree, keeping result in the same tree, added SAXtests to the
  default "make tests"
Daniel
2003-09-03 13:10:37 +00:00

18 lines
451 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.entityDecl(YN, 1, (null), (null), "Yes")
SAX.getEntity(YN)
SAX.entityDecl(WhatHeSaid, 1, (null), (null), He said &YN;)
SAX.getEntity(WhatHeSaid)
SAX.externalSubset(doc, , )
SAX.startElement(doc)
SAX.getEntity(WhatHeSaid)
SAX.characters(He said , 8)
SAX.getEntity(YN)
SAX.characters("Yes", 5)
SAX.reference(YN)
SAX.reference(WhatHeSaid)
SAX.endElement(doc)
SAX.endDocument()