Rebuild the docs, daniel
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml
index 44607b8..faa5735 100644
--- a/doc/libxml2-api.xml
+++ b/doc/libxml2-api.xml
@@ -170,49 +170,44 @@
      <summary>SAX2 parser interface used to build the DOM tree</summary>
      <description>those are the default SAX2 interfaces used by the library when building DOM tree. </description>
      <author>Daniel Veillard </author>
-     <exports symbol='xmlSAX2CheckNamespace' type='function'/>
+     <exports symbol='xmlSAX2EndDocument' type='function'/>
      <exports symbol='xmlSAX2EndElementNs' type='function'/>
+     <exports symbol='xmlSAX2ProcessingInstruction' type='function'/>
+     <exports symbol='xmlSAX2InternalSubset' type='function'/>
      <exports symbol='xmlSAX2Reference' type='function'/>
-     <exports symbol='xmlSAX2GetNamespace' type='function'/>
+     <exports symbol='xmlSAXDefaultVersion' type='function'/>
+     <exports symbol='xmlSAX2Characters' type='function'/>
      <exports symbol='xmlSAX2ElementDecl' type='function'/>
-     <exports symbol='xmlSAX2NamespaceDecl' type='function'/>
      <exports symbol='xmlSAX2AttributeDecl' type='function'/>
-     <exports symbol='xmlSAX2EntityDecl' type='function'/>
+     <exports symbol='xmlSAX2Comment' type='function'/>
+     <exports symbol='xmlSAX2InitDocbDefaultSAXHandler' type='function'/>
      <exports symbol='xmlSAX2GetColumnNumber' type='function'/>
+     <exports symbol='xmlSAX2SetDocumentLocator' type='function'/>
+     <exports symbol='xmlSAX2CDataBlock' type='function'/>
+     <exports symbol='xmlSAX2StartElementNs' type='function'/>
+     <exports symbol='xmlSAX2HasExternalSubset' type='function'/>
      <exports symbol='xmlSAX2GetEntity' type='function'/>
      <exports symbol='xmlSAX2UnparsedEntityDecl' type='function'/>
-     <exports symbol='xmlSAX2InitDocbDefaultSAXHandler' type='function'/>
+     <exports symbol='htmlDefaultSAXHandlerInit' type='function'/>
      <exports symbol='xmlSAXVersion' type='function'/>
      <exports symbol='xmlSAX2IgnorableWhitespace' type='function'/>
+     <exports symbol='xmlSAX2GetLineNumber' type='function'/>
      <exports symbol='xmlSAX2NotationDecl' type='function'/>
-     <exports symbol='xmlDefaultSAXHandlerInit' type='function'/>
+     <exports symbol='xmlSAX2HasInternalSubset' type='function'/>
      <exports symbol='xmlSAX2StartDocument' type='function'/>
+     <exports symbol='xmlSAX2InitHtmlDefaultSAXHandler' type='function'/>
+     <exports symbol='docbDefaultSAXHandlerInit' type='function'/>
      <exports symbol='xmlSAX2EndElement' type='function'/>
      <exports symbol='xmlSAX2ResolveEntity' type='function'/>
      <exports symbol='xmlSAX2ExternalSubset' type='function'/>
+     <exports symbol='xmlDefaultSAXHandlerInit' type='function'/>
      <exports symbol='xmlSAX2GetPublicId' type='function'/>
-     <exports symbol='xmlSAX2SetNamespace' type='function'/>
-     <exports symbol='xmlSAX2IsStandalone' type='function'/>
-     <exports symbol='xmlSAX2EndDocument' type='function'/>
-     <exports symbol='xmlSAX2ProcessingInstruction' type='function'/>
-     <exports symbol='xmlSAX2InternalSubset' type='function'/>
-     <exports symbol='xmlSAX2Characters' type='function'/>
-     <exports symbol='xmlSAX2Comment' type='function'/>
-     <exports symbol='xmlSAX2StartElement' type='function'/>
-     <exports symbol='xmlSAX2SetDocumentLocator' type='function'/>
-     <exports symbol='xmlSAX2CDataBlock' type='function'/>
-     <exports symbol='htmlDefaultSAXHandlerInit' type='function'/>
-     <exports symbol='xmlSAX2HasExternalSubset' type='function'/>
-     <exports symbol='xmlSAX2StartElementNs' type='function'/>
-     <exports symbol='xmlSAX2GlobalNamespace' type='function'/>
-     <exports symbol='xmlSAX2GetLineNumber' type='function'/>
-     <exports symbol='xmlSAX2HasInternalSubset' type='function'/>
-     <exports symbol='xmlSAX2InitHtmlDefaultSAXHandler' type='function'/>
-     <exports symbol='docbDefaultSAXHandlerInit' type='function'/>
-     <exports symbol='xmlSAXDefaultVersion' type='function'/>
      <exports symbol='xmlSAX2InitDefaultSAXHandler' type='function'/>
+     <exports symbol='xmlSAX2IsStandalone' type='function'/>
      <exports symbol='xmlSAX2GetParameterEntity' type='function'/>
      <exports symbol='xmlSAX2GetSystemId' type='function'/>
+     <exports symbol='xmlSAX2StartElement' type='function'/>
+     <exports symbol='xmlSAX2EntityDecl' type='function'/>
     </file>
     <file name='c14n'>
      <summary>Provide Canonical XML and Exclusive XML Canonicalization</summary>
@@ -1067,13 +1062,14 @@
      <exports symbol='XML_SCHEMA_TYPE_UNION' type='enum'/>
      <exports symbol='XML_SCHEMA_TYPE_ELEMENT' type='enum'/>
      <exports symbol='XML_SCHEMA_FACET_TOTALDIGITS' type='enum'/>
-     <exports symbol='XML_SCHEMA_TYPE_UR' type='enum'/>
+     <exports symbol='XML_SCHEMA_TYPE_ANY_ATTRIBUTE' type='enum'/>
      <exports symbol='XML_SCHEMA_TYPE_NOTATION' type='enum'/>
      <exports symbol='XML_SCHEMA_FACET_LENGTH' type='enum'/>
      <exports symbol='XML_SCHEMA_CONTENT_SIMPLE' type='enum'/>
      <exports symbol='XML_SCHEMA_CONTENT_ANY' type='enum'/>
      <exports symbol='XML_SCHEMA_CONTENT_BASIC' type='enum'/>
      <exports symbol='XML_SCHEMA_FACET_MINLENGTH' type='enum'/>
+     <exports symbol='XML_SCHEMA_TYPE_UR' type='enum'/>
      <exports symbol='XML_SCHEMA_TYPE_COMPLEX_CONTENT' type='enum'/>
      <exports symbol='XML_SCHEMA_FACET_FRACTIONDIGITS' type='enum'/>
      <exports symbol='XML_SCHEMA_FACET_PATTERN' type='enum'/>
@@ -1582,6 +1578,7 @@
      <exports symbol='xmlRegisterDefaultOutputCallbacks' type='function'/>
      <exports symbol='xmlFileClose' type='function'/>
      <exports symbol='xmlOutputMatchCallback' type='function'/>
+     <exports symbol='xmlParserInputBufferPush' type='function'/>
      <exports symbol='xmlIOFTPRead' type='function'/>
      <exports symbol='xmlRegisterHTTPPostCallbacks' type='function'/>
      <exports symbol='xmlIOFTPOpen' type='function'/>
@@ -1615,13 +1612,14 @@
      <exports symbol='xmlInputReadCallback' type='function'/>
      <exports symbol='xmlParserInputBufferCreateStatic' type='function'/>
      <exports symbol='xmlIOHTTPClose' type='function'/>
-     <exports symbol='xmlParserInputBufferPush' type='function'/>
+     <exports symbol='xmlOutputBufferWriteEscape' type='function'/>
      <exports symbol='xmlOutputBufferCreateFilename' type='function'/>
      <exports symbol='xmlCleanupOutputCallbacks' type='function'/>
      <exports symbol='xmlInputOpenCallback' type='function'/>
      <exports symbol='xmlParserInputBufferRead' type='function'/>
      <exports symbol='xmlOutputBufferWriteString' type='function'/>
      <exports symbol='xmlFileMatch' type='function'/>
+     <exports symbol='xmlPopInputCallbacks' type='function'/>
      <exports symbol='xmlFileRead' type='function'/>
      <exports symbol='xmlParserInputBufferCreateFile' type='function'/>
      <exports symbol='xmlParserGetDirectory' type='function'/>
@@ -1710,6 +1708,7 @@
      <exports symbol='XML_RNGP_PAT_ONEMORE_GROUP_ATTR' type='enum'/>
      <exports symbol='XML_ERR_VALUE_REQUIRED' type='enum'/>
      <exports symbol='XML_RNGP_INTERLEAVE_EMPTY' type='enum'/>
+     <exports symbol='XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION' type='enum'/>
      <exports symbol='XML_IO_ECHILD' type='enum'/>
      <exports symbol='XML_RNGP_URI_NOT_ABSOLUTE' type='enum'/>
      <exports symbol='XML_RNGP_NAME_MISSING' type='enum'/>
@@ -1815,6 +1814,7 @@
      <exports symbol='XML_SCHEMAP_IMPORT_REDEFINE_NSNAME' type='enum'/>
      <exports symbol='XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME' type='enum'/>
      <exports symbol='XML_IO_ECANCELED' type='enum'/>
+     <exports symbol='XML_SCHEMAP_INVALID_ATTR_NAME' type='enum'/>
      <exports symbol='XML_ERR_UNKNOWN_ENCODING' type='enum'/>
      <exports symbol='XML_HTTP_URL_SYNTAX' type='enum'/>
      <exports symbol='XML_SCHEMAP_INVALID_FACET' type='enum'/>
@@ -1952,7 +1952,7 @@
      <exports symbol='XML_XPATH_START_LITERAL_ERROR' type='enum'/>
      <exports symbol='XML_IO_EACCES' type='enum'/>
      <exports symbol='XML_DTD_NOT_PCDATA' type='enum'/>
-     <exports symbol='XML_SCHEMAP_PREFIX_UNDEFINED' type='enum'/>
+     <exports symbol='XML_SCHEMAP_INVALID_ATTR_COMBINATION' type='enum'/>
      <exports symbol='XML_WAR_UNKNOWN_VERSION' type='enum'/>
      <exports symbol='XML_RNGP_PARAM_FORBIDDEN' type='enum'/>
      <exports symbol='XML_ERR_OK' type='enum'/>
@@ -1991,6 +1991,7 @@
      <exports symbol='XML_XPATH_UNCLOSED_ERROR' type='enum'/>
      <exports symbol='XML_WAR_CATALOG_PI' type='enum'/>
      <exports symbol='XML_SCHEMAP_INVALID_MINOCCURS' type='enum'/>
+     <exports symbol='XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE' type='enum'/>
      <exports symbol='XML_IO_ENOLCK' type='enum'/>
      <exports symbol='XML_XINCLUDE_DEPRECATED_NS' type='enum'/>
      <exports symbol='XML_RNGP_CHOICE_EMPTY' type='enum'/>
@@ -2004,6 +2005,7 @@
      <exports symbol='XML_SCHEMAP_NOTYPE_NOREF' type='enum'/>
      <exports symbol='XML_RNGP_ATTRIBUTE_EMPTY' type='enum'/>
      <exports symbol='XML_SCHEMAV_ISABSTRACT' type='enum'/>
+     <exports symbol='XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD' type='enum'/>
      <exports symbol='XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP' type='enum'/>
      <exports symbol='XML_IO_LOAD_ERROR' type='enum'/>
      <exports symbol='XML_RNGP_PAT_LIST_ELEM' type='enum'/>
@@ -2044,6 +2046,7 @@
      <exports symbol='XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD' type='enum'/>
      <exports symbol='XML_SCHEMAP_INVALID_FACET_VALUE' type='enum'/>
      <exports symbol='XML_SCHEMAP_INVALID_BOOLEAN' type='enum'/>
+     <exports symbol='XML_SCHEMAP_REF_AND_CONTENT' type='enum'/>
      <exports symbol='XML_ERR_ENTITYREF_IN_EPILOG' type='enum'/>
      <exports symbol='XML_SCHEMAP_NOATTR_NOREF' type='enum'/>
      <exports symbol='XML_RNGP_GRAMMAR_MISSING' type='enum'/>
@@ -2174,6 +2177,7 @@
      <exports symbol='XML_FROM_SCHEMASP' type='enum'/>
      <exports symbol='XML_ERR_MIXED_NOT_FINISHED' type='enum'/>
      <exports symbol='XML_SCHEMAP_DEF_AND_PREFIX' type='enum'/>
+     <exports symbol='XML_SCHEMAP_PREFIX_UNDEFINED' type='enum'/>
      <exports symbol='XML_DTD_STANDALONE_WHITE_SPACE' type='enum'/>
      <exports symbol='XML_HTTP_USE_IP' type='enum'/>
      <exports symbol='XML_IO_ENCODER' type='enum'/>
@@ -2255,21 +2259,26 @@
      <description>API of the XML streaming API based on C# interfaces. </description>
      <author>Daniel Veillard </author>
      <exports symbol='XML_READER_TYPE_DOCUMENT_FRAGMENT' type='enum'/>
+     <exports symbol='XML_TEXTREADER_MODE_INITIAL' type='enum'/>
      <exports symbol='XML_READER_TYPE_COMMENT' type='enum'/>
      <exports symbol='XML_PARSER_SEVERITY_ERROR' type='enum'/>
+     <exports symbol='XML_TEXTREADER_MODE_EOF' type='enum'/>
      <exports symbol='XML_PARSER_LOADDTD' type='enum'/>
      <exports symbol='XML_READER_TYPE_ENTITY' type='enum'/>
      <exports symbol='XML_READER_TYPE_SIGNIFICANT_WHITESPACE' type='enum'/>
      <exports symbol='XML_READER_TYPE_TEXT' type='enum'/>
      <exports symbol='XML_READER_TYPE_PROCESSING_INSTRUCTION' type='enum'/>
      <exports symbol='XML_READER_TYPE_END_ENTITY' type='enum'/>
+     <exports symbol='XML_TEXTREADER_MODE_READING' type='enum'/>
      <exports symbol='XML_READER_TYPE_XML_DECLARATION' type='enum'/>
      <exports symbol='XML_PARSER_DEFAULTATTRS' type='enum'/>
      <exports symbol='XML_READER_TYPE_NONE' type='enum'/>
+     <exports symbol='XML_TEXTREADER_MODE_CLOSED' type='enum'/>
      <exports symbol='XML_PARSER_SEVERITY_VALIDITY_ERROR' type='enum'/>
      <exports symbol='XML_PARSER_VALIDATE' type='enum'/>
      <exports symbol='XML_PARSER_SEVERITY_WARNING' type='enum'/>
      <exports symbol='XML_PARSER_SEVERITY_VALIDITY_WARNING' type='enum'/>
+     <exports symbol='XML_TEXTREADER_MODE_ERROR' type='enum'/>
      <exports symbol='XML_READER_TYPE_ATTRIBUTE' type='enum'/>
      <exports symbol='XML_READER_TYPE_ELEMENT' type='enum'/>
      <exports symbol='XML_READER_TYPE_DOCUMENT' type='enum'/>
@@ -2280,8 +2289,10 @@
      <exports symbol='XML_READER_TYPE_NOTATION' type='enum'/>
      <exports symbol='XML_PARSER_SUBST_ENTITIES' type='enum'/>
      <exports symbol='XML_READER_TYPE_ENTITY_REFERENCE' type='enum'/>
+     <exports symbol='XML_TEXTREADER_MODE_INTERACTIVE' type='enum'/>
      <exports symbol='xmlParserProperties' type='typedef'/>
      <exports symbol='xmlTextReaderPtr' type='typedef'/>
+     <exports symbol='xmlTextReaderMode' type='typedef'/>
      <exports symbol='xmlParserSeverities' type='typedef'/>
      <exports symbol='xmlTextReader' type='typedef'/>
      <exports symbol='xmlTextReaderLocatorPtr' type='typedef'/>
@@ -2388,12 +2399,14 @@
      <exports symbol='xmlSaveCtxt' type='typedef'/>
      <exports symbol='xmlSaveCtxtPtr' type='typedef'/>
      <exports symbol='xmlSaveToIO' type='function'/>
-     <exports symbol='xmlSaveToBuffer' type='function'/>
-     <exports symbol='xmlSaveToFd' type='function'/>
      <exports symbol='xmlSaveToFilename' type='function'/>
+     <exports symbol='xmlSaveToFd' type='function'/>
+     <exports symbol='xmlSaveToBuffer' type='function'/>
      <exports symbol='xmlSaveClose' type='function'/>
-     <exports symbol='xmlSaveFlush' type='function'/>
      <exports symbol='xmlSaveDoc' type='function'/>
+     <exports symbol='xmlSaveFlush' type='function'/>
+     <exports symbol='xmlSaveSetAttrEscape' type='function'/>
+     <exports symbol='xmlSaveSetEscape' type='function'/>
      <exports symbol='xmlSaveTree' type='function'/>
     </file>
     <file name='xmlschemas'>
@@ -4271,7 +4284,10 @@
     <enum name='XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI' file='xmlerror' value='1713' type='xmlParserErrors' info='1713'/>
     <enum name='XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI' file='xmlerror' value='1770' type='xmlParserErrors' info='1769'/>
     <enum name='XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI' file='xmlerror' value='1771' type='xmlParserErrors' info='1770'/>
-    <enum name='XML_SCHEMAP_INVALID_ATTR_USE' file='xmlerror' value='1774' type='xmlParserErrors' info='1723'/>
+    <enum name='XML_SCHEMAP_INVALID_ATTR_COMBINATION' file='xmlerror' value='1777' type='xmlParserErrors' info='1776'/>
+    <enum name='XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION' file='xmlerror' value='1778' type='xmlParserErrors' info='1777'/>
+    <enum name='XML_SCHEMAP_INVALID_ATTR_NAME' file='xmlerror' value='1780' type='xmlParserErrors' info='1779'/>
+    <enum name='XML_SCHEMAP_INVALID_ATTR_USE' file='xmlerror' value='1774' type='xmlParserErrors' info='1773'/>
     <enum name='XML_SCHEMAP_INVALID_BOOLEAN' file='xmlerror' value='1714' type='xmlParserErrors' info='1714'/>
     <enum name='XML_SCHEMAP_INVALID_ENUM' file='xmlerror' value='1715' type='xmlParserErrors' info='1715'/>
     <enum name='XML_SCHEMAP_INVALID_FACET' file='xmlerror' value='1716' type='xmlParserErrors' info='1716'/>
@@ -4280,6 +4296,7 @@
     <enum name='XML_SCHEMAP_INVALID_MINOCCURS' file='xmlerror' value='1719' type='xmlParserErrors' info='1719'/>
     <enum name='XML_SCHEMAP_INVALID_REF_AND_SUBTYPE' file='xmlerror' value='1720' type='xmlParserErrors' info='1720'/>
     <enum name='XML_SCHEMAP_INVALID_WHITE_SPACE' file='xmlerror' value='1721' type='xmlParserErrors' info='1721'/>
+    <enum name='XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD' file='xmlerror' value='1779' type='xmlParserErrors' info='1778'/>
     <enum name='XML_SCHEMAP_NOATTR_NOREF' file='xmlerror' value='1722' type='xmlParserErrors' info='1722'/>
     <enum name='XML_SCHEMAP_NOROOT' file='xmlerror' value='1759' type='xmlParserErrors' info='1758'/>
     <enum name='XML_SCHEMAP_NOTATION_NO_NAME' file='xmlerror' value='1723' type='xmlParserErrors' info='1723'/>
@@ -4287,17 +4304,19 @@
     <enum name='XML_SCHEMAP_NOTYPE_NOREF' file='xmlerror' value='1724' type='xmlParserErrors' info='1724'/>
     <enum name='XML_SCHEMAP_NOT_SCHEMA' file='xmlerror' value='1772' type='xmlParserErrors' info='1771'/>
     <enum name='XML_SCHEMAP_PREFIX_UNDEFINED' file='xmlerror' value='1700' type='xmlParserErrors'/>
-    <enum name='XML_SCHEMAP_RECURSIVE' file='xmlerror' value='1775' type='xmlParserErrors' info='1724'/>
+    <enum name='XML_SCHEMAP_RECURSIVE' file='xmlerror' value='1775' type='xmlParserErrors' info='1774'/>
     <enum name='XML_SCHEMAP_REDEFINED_ATTR' file='xmlerror' value='1764' type='xmlParserErrors' info='1763'/>
     <enum name='XML_SCHEMAP_REDEFINED_ATTRGROUP' file='xmlerror' value='1763' type='xmlParserErrors' info='1762'/>
     <enum name='XML_SCHEMAP_REDEFINED_ELEMENT' file='xmlerror' value='1762' type='xmlParserErrors' info='1761'/>
     <enum name='XML_SCHEMAP_REDEFINED_GROUP' file='xmlerror' value='1760' type='xmlParserErrors' info='1759'/>
     <enum name='XML_SCHEMAP_REDEFINED_NOTATION' file='xmlerror' value='1765' type='xmlParserErrors' info='1764'/>
     <enum name='XML_SCHEMAP_REDEFINED_TYPE' file='xmlerror' value='1761' type='xmlParserErrors' info='1760'/>
+    <enum name='XML_SCHEMAP_REF_AND_CONTENT' file='xmlerror' value='1781' type='xmlParserErrors' info='1780'/>
     <enum name='XML_SCHEMAP_REF_AND_SUBTYPE' file='xmlerror' value='1725' type='xmlParserErrors' info='1725'/>
     <enum name='XML_SCHEMAP_REGEXP_INVALID' file='xmlerror' value='1756' type='xmlParserErrors' info='1756'/>
     <enum name='XML_SCHEMAP_RESTRICTION_NONAME_NOREF' file='xmlerror' value='1726' type='xmlParserErrors' info='1726'/>
     <enum name='XML_SCHEMAP_SIMPLETYPE_NONAME' file='xmlerror' value='1727' type='xmlParserErrors' info='1727'/>
+    <enum name='XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE' file='xmlerror' value='1776' type='xmlParserErrors' info='1775'/>
     <enum name='XML_SCHEMAP_TYPE_AND_SUBTYPE' file='xmlerror' value='1728' type='xmlParserErrors' info='1728'/>
     <enum name='XML_SCHEMAP_UNKNOWN_ALL_CHILD' file='xmlerror' value='1729' type='xmlParserErrors' info='1729'/>
     <enum name='XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD' file='xmlerror' value='1730' type='xmlParserErrors' info='1730'/>
@@ -4399,6 +4418,7 @@
     <enum name='XML_SCHEMA_FACET_WHITESPACE' file='schemasInternals' value='1008' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_ALL' file='schemasInternals' value='8' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_ANY' file='schemasInternals' value='2' type='xmlSchemaTypeType'/>
+    <enum name='XML_SCHEMA_TYPE_ANY_ATTRIBUTE' file='schemasInternals' value='21' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_ATTRIBUTE' file='schemasInternals' value='15' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_ATTRIBUTEGROUP' file='schemasInternals' value='16' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_BASIC' file='schemasInternals' value='1' type='xmlSchemaTypeType'/>
@@ -4417,6 +4437,12 @@
     <enum name='XML_SCHEMA_TYPE_SIMPLE_CONTENT' file='schemasInternals' value='9' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_UNION' file='schemasInternals' value='20' type='xmlSchemaTypeType'/>
     <enum name='XML_SCHEMA_TYPE_UR' file='schemasInternals' value='11' type='xmlSchemaTypeType'/>
+    <enum name='XML_TEXTREADER_MODE_CLOSED' file='xmlreader' value='4' type='xmlTextReaderMode'/>
+    <enum name='XML_TEXTREADER_MODE_EOF' file='xmlreader' value='3' type='xmlTextReaderMode'/>
+    <enum name='XML_TEXTREADER_MODE_ERROR' file='xmlreader' value='2' type='xmlTextReaderMode'/>
+    <enum name='XML_TEXTREADER_MODE_INITIAL' file='xmlreader' value='0' type='xmlTextReaderMode'/>
+    <enum name='XML_TEXTREADER_MODE_INTERACTIVE' file='xmlreader' value='1' type='xmlTextReaderMode'/>
+    <enum name='XML_TEXTREADER_MODE_READING' file='xmlreader' value='5' type='xmlTextReaderMode'/>
     <enum name='XML_TEXT_NODE' file='tree' value='3' type='xmlElementType'/>
     <enum name='XML_TREE_INVALID_DEC' file='xmlerror' value='1301' type='xmlParserErrors' info='1301'/>
     <enum name='XML_TREE_INVALID_HEX' file='xmlerror' value='1300' type='xmlParserErrors'/>
@@ -5278,6 +5304,7 @@
     <typedef name='xmlShellCtxtPtr' file='debugXML' type='xmlShellCtxt *'/>
     <struct name='xmlTextReader' file='xmlreader' type='struct _xmlTextReader'/>
     <typedef name='xmlTextReaderLocatorPtr' file='xmlreader' type='void *'/>
+    <typedef name='xmlTextReaderMode' file='xmlreader' type='enum'/>
     <typedef name='xmlTextReaderPtr' file='xmlreader' type='xmlTextReader *'/>
     <struct name='xmlTextWriter' file='xmlwriter' type='struct _xmlTextWriter'/>
     <typedef name='xmlTextWriterPtr' file='xmlwriter' type='xmlTextWriter *'/>
@@ -6708,7 +6735,7 @@
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
     </function>
     <function name='xmlAutomataNewAllTrans' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds a an ALL transition from the @from state to the target state. That transition is an epsilon transition allowed only when all transitions from the @from node have been activated.</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds a an ALL transition from the @from state to the target state. That transition is an epsilon transition allowed only when all transitions from the @from node have been activated.</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -6716,7 +6743,7 @@
       <arg name='lax' type='int' info='allow to transition if not all all transitions have been activated'/>
     </function>
     <function name='xmlAutomataNewCountTrans' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -6727,7 +6754,7 @@
       <arg name='data' type='void *' info='data associated to the transition'/>
     </function>
     <function name='xmlAutomataNewCountedTrans' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will increment the counter provided</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will increment the counter provided</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -6742,7 +6769,7 @@
       <arg name='max' type='int' info='the maximal value on the counter'/>
     </function>
     <function name='xmlAutomataNewCounterTrans' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will be allowed only if the counter is within the right range.</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will be allowed only if the counter is within the right range.</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -6750,14 +6777,14 @@
       <arg name='counter' type='int' info='the counter associated to that transition'/>
     </function>
     <function name='xmlAutomataNewEpsilon' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds a an epsilon transition from the @from state to the target state</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
       <arg name='to' type='xmlAutomataStatePtr' info='the target point of the transition or NULL'/>
     </function>
     <function name='xmlAutomataNewOnceTrans' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max, moreover that transistion can only be crossed once.</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max, moreover that transition can only be crossed once.</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -6773,7 +6800,7 @@
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
     </function>
     <function name='xmlAutomataNewTransition' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -6782,7 +6809,7 @@
       <arg name='data' type='void *' info='data passed to the callback function if the transition is activated'/>
     </function>
     <function name='xmlAutomataNewTransition2' file='xmlautomata'>
-      <info>If @to is NULL, this create first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token</info>
+      <info>If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token</info>
       <return type='xmlAutomataStatePtr' info='the target state or NULL in case of error'/>
       <arg name='am' type='xmlAutomataPtr' info='an automata'/>
       <arg name='from' type='xmlAutomataStatePtr' info='the starting point of the transition'/>
@@ -9591,6 +9618,13 @@
       <arg name='len' type='int' info='the size in bytes of the array.'/>
       <arg name='buf' type='const char *' info='an char array'/>
     </function>
+    <function name='xmlOutputBufferWriteEscape' file='xmlIO'>
+      <info>Write the content of the string in the output I/O buffer This routine escapes the caracters and then handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.</info>
+      <return type='int' info='the number of chars immediately written, or -1 in case of error.'/>
+      <arg name='out' type='xmlOutputBufferPtr' info='a buffered parser output'/>
+      <arg name='str' type='const xmlChar *' info='a zero terminated UTF-8 string'/>
+      <arg name='escaping' type='xmlCharEncodingOutputFunc' info='an optional escaping function (or NULL)'/>
+    </function>
     <function name='xmlOutputBufferWriteString' file='xmlIO'>
       <info>Write the content of the string in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes.</info>
       <return type='int' info='the number of chars immediately written, or -1 in case of error.'/>
@@ -10145,6 +10179,10 @@
       <return type='xmlChar' info='the current xmlChar in the parser context'/>
       <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context'/>
     </function>
+    <function name='xmlPopInputCallbacks' file='xmlIO'>
+      <info></info>
+      <return type='int' info=''/>
+    </function>
     <function name='xmlPrintURI' file='uri'>
       <info>Prints the URI in the stream @steam.</info>
       <return type='void'/>
@@ -10386,19 +10424,19 @@
       <arg name='data' type='void *' info='the context data associated to the callback in this context'/>
     </function>
     <function name='xmlRegexpCompile' file='xmlregexp'>
-      <info>Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and build an automata suitable for testing strings against that regular expression</info>
+      <info>Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and builds an automata suitable for testing strings against that regular expression</info>
       <return type='xmlRegexpPtr' info='the compiled expression or NULL in case of error'/>
       <arg name='regexp' type='const xmlChar *' info='a regular expression string'/>
     </function>
     <function name='xmlRegexpExec' file='xmlregexp'>
-      <info>Check if the regular expression generate the value</info>
-      <return type='int' info='1 if it matches, 0 if not and a negativa value in case of error'/>
+      <info>Check if the regular expression generates the value</info>
+      <return type='int' info='1 if it matches, 0 if not and a negative value in case of error'/>
       <arg name='comp' type='xmlRegexpPtr' info='the compiled regular expression'/>
       <arg name='content' type='const xmlChar *' info='the value to check against the regular expression'/>
     </function>
     <function name='xmlRegexpIsDeterminist' file='xmlregexp'>
       <info>Check if the regular expression is determinist</info>
-      <return type='int' info='1 if it yes, 0 if not and a negativa value in case of error'/>
+      <return type='int' info='1 if it yes, 0 if not and a negative value in case of error'/>
       <arg name='comp' type='xmlRegexpPtr' info='the compiled regular expression'/>
     </function>
     <function name='xmlRegexpPrint' file='xmlregexp'>
@@ -10650,12 +10688,6 @@
       <arg name='ch' type='const xmlChar *' info='a xmlChar string'/>
       <arg name='len' type='int' info='the number of xmlChar'/>
     </function>
-    <function name='xmlSAX2CheckNamespace' file='SAX2'>
-      <info></info>
-      <return type='int' info=''/>
-      <arg name='ctx' type='void *' info=''/>
-      <arg name='nameSpace' type='xmlChar *' info=''/>
-    </function>
     <function name='xmlSAX2Comment' file='SAX2'>
       <info>A xmlSAX2Comment has been parsed.</info>
       <return type='void'/>
@@ -10723,11 +10755,6 @@
       <return type='int' info='an int'/>
       <arg name='ctx' type='void *' info='the user data (XML parser context)'/>
     </function>
-    <function name='xmlSAX2GetNamespace' file='SAX2'>
-      <info></info>
-      <return type='xmlNsPtr' info=''/>
-      <arg name='ctx' type='void *' info=''/>
-    </function>
     <function name='xmlSAX2GetParameterEntity' file='SAX2'>
       <info>Get a parameter entity by name</info>
       <return type='xmlEntityPtr' info='the xmlEntityPtr if found.'/>
@@ -10744,13 +10771,6 @@
       <return type='const xmlChar *' info='a xmlChar *'/>
       <arg name='ctx' type='void *' info='the user data (XML parser context)'/>
     </function>
-    <function name='xmlSAX2GlobalNamespace' file='SAX2'>
-      <info></info>
-      <return type='void'/>
-      <arg name='ctx' type='void *' info=''/>
-      <arg name='href' type='const xmlChar *' info=''/>
-      <arg name='prefix' type='const xmlChar *' info=''/>
-    </function>
     <function name='xmlSAX2HasExternalSubset' file='SAX2'>
       <info>Does this document has an external subset</info>
       <return type='int' info='1 if true'/>
@@ -10797,13 +10817,6 @@
       <return type='int' info='1 if true'/>
       <arg name='ctx' type='void *' info='the user data (XML parser context)'/>
     </function>
-    <function name='xmlSAX2NamespaceDecl' file='SAX2'>
-      <info></info>
-      <return type='void'/>
-      <arg name='ctx' type='void *' info=''/>
-      <arg name='href' type='const xmlChar *' info=''/>
-      <arg name='prefix' type='const xmlChar *' info=''/>
-    </function>
     <function name='xmlSAX2NotationDecl' file='SAX2'>
       <info>What to do when a notation declaration has been parsed.</info>
       <return type='void'/>
@@ -10838,12 +10851,6 @@
       <arg name='ctx' type='void *' info='the user data (XML parser context)'/>
       <arg name='loc' type='xmlSAXLocatorPtr' info='A SAX Locator'/>
     </function>
-    <function name='xmlSAX2SetNamespace' file='SAX2'>
-      <info></info>
-      <return type='void'/>
-      <arg name='ctx' type='void *' info=''/>
-      <arg name='name' type='const xmlChar *' info=''/>
-    </function>
     <function name='xmlSAX2StartDocument' file='SAX2'>
       <info>called when the document start being processed.</info>
       <return type='void'/>
@@ -11015,6 +11022,18 @@
       <arg name='encoding' type='const char *' info='the encoding if any assuming the I/O layer handles the trancoding'/>
       <arg name='format' type='int' info='should formatting spaces been added'/>
     </function>
+    <function name='xmlSaveSetAttrEscape' file='xmlsave'>
+      <info>Set a custom escaping function to be used for text in attribute content</info>
+      <return type='int' info='0 if successful or -1 in case of error.'/>
+      <arg name='ctxt' type='xmlSaveCtxtPtr' info='a document saving context'/>
+      <arg name='escape' type='xmlCharEncodingOutputFunc' info='the escaping function'/>
+    </function>
+    <function name='xmlSaveSetEscape' file='xmlsave'>
+      <info>Set a custom escaping function to be used for text in element content</info>
+      <return type='int' info='0 if successful or -1 in case of error.'/>
+      <arg name='ctxt' type='xmlSaveCtxtPtr' info='a document saving context'/>
+      <arg name='escape' type='xmlCharEncodingOutputFunc' info='the escaping function'/>
+    </function>
     <function name='xmlSaveToBuffer' file='xmlsave'>
       <info>Create a document saving context serializing to a buffer with the encoding and the options given</info>
       <return type='xmlSaveCtxtPtr' info='a new serialization context or NULL in case of error.'/>
@@ -13567,7 +13586,7 @@
       <return type='int' info='the number of element in the list, or -1 in case of error. If the function returns the value @max the caller is invited to grow the receiving array and retry.'/>
       <arg name='prev' type='xmlNode *' info='an element to insert after'/>
       <arg name='next' type='xmlNode *' info='an element to insert next'/>
-      <arg name='list' type='const xmlChar **' info='an array to store the list of child names'/>
+      <arg name='names' type='const xmlChar **' info='an array to store the list of child names'/>
       <arg name='max' type='int' info='the size of the array'/>
     </function>
     <function name='xmlValidNormalizeAttributeValue' file='valid'>