1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 21:55:05 +03:00
libxml2/doc/examples/test3.xml
Daniel Veillard 1e90661bb8 cleanup the make rebuild in doc, this include new directive to stop
* globals.c xmlwriter.c doc/apibuild.py include/libxml/globals.h
  include/libxml/pattern.h include/libxml/schemasInternals.h
  include/libxml/xmlexports.h include/libxml/xmlwriter.h: cleanup
  the make rebuild in doc, this include new directive to stop
  documentation warnings
* doc/* doc/html/*: rebuilt the docs
* pattern.c xmlreader.c include/libxml/pattern.h
  include/libxml/xmlreader.h: adding xmlTextReaderPreservePattern()
  to save nodes while scanning the tree with the reader, cleanup
  the way element were freed, and xmlTextReaderPreserve()
  implementation, the API might change for namespace binding support
  when compiling patterns.
* doc/examples/*: added reader3.c exposing the xmlTextReaderPreserve()
Daniel
2003-12-05 14:57:46 +00:00

40 lines
833 B
XML

<doc>
<parent>
<discarded>
<discarded/>
</discarded>
<preserved/>
This text node must be discarded
<discarded>
<discarded/>
</discarded>
<preserved>
content1
<child1></child1>
<child2>content2</child2>
<preserved>too</preserved>
<child2>content3</child2>
<preserved></preserved>
<child2>content4</child2>
<preserved/>
<child2>content5</child2>
content6
</preserved>
This text node must be discarded
<discarded>
<discarded/>
</discarded>
This text node must be discarded
<preserved></preserved>
This text node must be discarded
<preserved/>
This text node must be discarded
<discarded>
<discarded/>
</discarded>
This text node must be discarded
</parent>
</doc>