mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-12 16:58:16 +03:00
* 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
40 lines
833 B
XML
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>
|
|
|
|
|