rebuilt the API added the new options --nocdata and --nsclean to remove
* doc/libxml2-api.xml: rebuilt the API
* xmllint.c doc/xmllint.1 doc/xmllint.xml: added the new options
--nocdata and --nsclean to remove CDATA section and surperfluous
namespace declarations
* parser.c SAX2.c: implementation of the 2 new options
Daniel
diff --git a/doc/xmllint.xml b/doc/xmllint.xml
index e45aa8a..304be80 100644
--- a/doc/xmllint.xml
+++ b/doc/xmllint.xml
@@ -50,6 +50,8 @@
<arg>--copy</arg>
<arg>--recover</arg>
<arg>--noent</arg>
+ <arg>--nocdata</arg>
+ <arg>--nsclean</arg>
<arg>--noout</arg>
<arg>--htmlout</arg>
<arg>--nowrap</arg>
@@ -174,6 +176,24 @@
</varlistentry>
<varlistentry>
+ <term><option>--nocdata</option></term>
+ <listitem>
+ <simpara>
+ Substitute CDATA section by equivalent text nodes.
+ </simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>--nsclean</option></term>
+ <listitem>
+ <simpara>
+ Remove redundant namespace declarations.
+ </simpara>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--noout</option></term>
<listitem>
<simpara>