xmlversion

xmlversion —

Synopsis




void        xmlCheckVersion                 (int version);
#define     LIBXML_DOTTED_VERSION
#define     LIBXML_VERSION
#define     LIBXML_VERSION_STRING
#define     LIBXML_TEST_VERSION
#define     WITH_TRIO
#define     WITHOUT_TRIO
#define     LIBXML_THREAD_ENABLED
#define     LIBXML_TREE_ENABLED
#define     LIBXML_OUTPUT_ENABLED
#define     LIBXML_PUSH_ENABLED
#define     LIBXML_READER_ENABLED
#define     LIBXML_WRITER_ENABLED
#define     LIBXML_SAX1_ENABLED
#define     LIBXML_FTP_ENABLED
#define     LIBXML_HTTP_ENABLED
#define     LIBXML_VALID_ENABLED
#define     LIBXML_HTML_ENABLED
#define     LIBXML_LEGACY_ENABLED
#define     LIBXML_C14N_ENABLED
#define     LIBXML_CATALOG_ENABLED
#define     LIBXML_DOCB_ENABLED
#define     LIBXML_XPATH_ENABLED
#define     LIBXML_XPTR_ENABLED
#define     LIBXML_XINCLUDE_ENABLED
#define     LIBXML_ICONV_ENABLED
#define     LIBXML_ISO8859X_ENABLED
#define     LIBXML_DEBUG_ENABLED
#define     DEBUG_MEMORY_LOCATION
#define     LIBXML_UNICODE_ENABLED
#define     LIBXML_REGEXP_ENABLED
#define     LIBXML_AUTOMATA_ENABLED
#define     LIBXML_SCHEMAS_ENABLED
#define     ATTRIBUTE_UNUSED

Description

Details

xmlCheckVersion ()

void        xmlCheckVersion                 (int version);

check the compiled lib version against the include one. This can warn or immediately kill the application

version:

LIBXML_DOTTED_VERSION

#define     LIBXML_DOTTED_VERSION

the version string like "1.2.3"


LIBXML_VERSION

#define     LIBXML_VERSION

the version number: 1.2.3 value is 1002003


LIBXML_VERSION_STRING

#define     LIBXML_VERSION_STRING

the version number string, 1.2.3 value is "1002003"


LIBXML_TEST_VERSION

#define     LIBXML_TEST_VERSION

Macro to check that the libxml version in use is compatible with the version the software has been compiled against


WITH_TRIO

#define     WITH_TRIO

defined if the trio support need to be configured in


WITHOUT_TRIO

#define     WITHOUT_TRIO

defined if the trio support should not be configured in


LIBXML_THREAD_ENABLED

#define     LIBXML_THREAD_ENABLED

Whether the thread support is configured in


LIBXML_TREE_ENABLED

#define LIBXML_TREE_ENABLED

Whether the DOM like tree manipulation API support is configured in


LIBXML_OUTPUT_ENABLED

#define LIBXML_OUTPUT_ENABLED

Whether the serialization/saving support is configured in


LIBXML_PUSH_ENABLED

#define LIBXML_PUSH_ENABLED

Whether the push parsing interfaces are configured in


LIBXML_READER_ENABLED

#define LIBXML_READER_ENABLED

Whether the xmlReader parsing interface is configured in


LIBXML_WRITER_ENABLED

#define LIBXML_WRITER_ENABLED

Whether the xmlWriter saving interface is configured in


LIBXML_SAX1_ENABLED

#define LIBXML_SAX1_ENABLED

Whether the older SAX1 interface is configured in


LIBXML_FTP_ENABLED

#define     LIBXML_FTP_ENABLED

Whether the FTP support is configured in


LIBXML_HTTP_ENABLED

#define     LIBXML_HTTP_ENABLED

Whether the HTTP support is configured in


LIBXML_VALID_ENABLED

#define LIBXML_VALID_ENABLED

Whether the DTD validation support is configured in


LIBXML_HTML_ENABLED

#define     LIBXML_HTML_ENABLED

Whether the HTML support is configured in


LIBXML_LEGACY_ENABLED

#define LIBXML_LEGACY_ENABLED

Whether the deprecated APIs are compiled in for compatibility


LIBXML_C14N_ENABLED

#define     LIBXML_C14N_ENABLED

Whether the Canonicalization support is configured in


LIBXML_CATALOG_ENABLED

#define     LIBXML_CATALOG_ENABLED

Whether the Catalog support is configured in


LIBXML_DOCB_ENABLED

#define     LIBXML_DOCB_ENABLED

Whether the SGML Docbook support is configured in


LIBXML_XPATH_ENABLED

#define     LIBXML_XPATH_ENABLED

Whether XPath is configured in


LIBXML_XPTR_ENABLED

#define     LIBXML_XPTR_ENABLED

Whether XPointer is configured in


LIBXML_XINCLUDE_ENABLED

#define     LIBXML_XINCLUDE_ENABLED

Whether XInclude is configured in


LIBXML_ICONV_ENABLED

#define     LIBXML_ICONV_ENABLED

Whether iconv support is available


LIBXML_ISO8859X_ENABLED

#define LIBXML_ISO8859X_ENABLED

Whether ISO-8859-* support is made available in case iconv is not


LIBXML_DEBUG_ENABLED

#define     LIBXML_DEBUG_ENABLED

Whether Debugging module is configured in


DEBUG_MEMORY_LOCATION

#define     DEBUG_MEMORY_LOCATION

Whether the memory debugging is configured in


LIBXML_UNICODE_ENABLED

#define LIBXML_UNICODE_ENABLED

Whether the Unicode related interfaces are compiled in


LIBXML_REGEXP_ENABLED

#define LIBXML_REGEXP_ENABLED

Whether the regular expressions interfaces are compiled in


LIBXML_AUTOMATA_ENABLED

#define LIBXML_AUTOMATA_ENABLED

Whether the automata interfaces are compiled in


LIBXML_SCHEMAS_ENABLED

#define LIBXML_SCHEMAS_ENABLED

Whether the Schemas validation interfaces are compiled in


ATTRIBUTE_UNUSED

#define     ATTRIBUTE_UNUSED

Macro used to signal to GCC unused function parameters