#

## Module xmlversion from libxml2

API Menu

- Main Menu
- Developer Menu
- Code Examples
- API Menu
- Parser API
- Tree API
- Reader API
- XML Guidelines
- ChangeLog

API Indexes

- Alphabetic
- Constructors
- Functions/Types
- Modules
- Symbols

Related links

- Mail archive
- XSLT libxslt
- DOM gdome2
- XML-DSig xmlsec
- FTP
- Windows binaries
- Solaris binaries
- MacOsX binaries
- C++ bindings
- PHP bindings
- Pascal bindings
- Ruby bindings
- Tcl bindings
- Bug Tracker

compile-time version informations for the XML library

## Table of Contents

    #define ATTRIBUTE_UNUSED

    #define DEBUG_MEMORY_LOCATION

    #define LIBXML_AUTOMATA_ENABLED

    #define LIBXML_C14N_ENABLED

    #define LIBXML_CATALOG_ENABLED

    #define LIBXML_DEBUG_ENABLED

    #define LIBXML_DEBUG_RUNTIME

    #define LIBXML_DOCB_ENABLED

    #define LIBXML_DOTTED_VERSION

    #define LIBXML_EXPR_ENABLED

    #define LIBXML_FTP_ENABLED

    #define LIBXML_HTML_ENABLED

    #define LIBXML_HTTP_ENABLED

    #define LIBXML_ICONV_ENABLED

    #define LIBXML_ISO8859X_ENABLED

    #define LIBXML_LEGACY_ENABLED

    #define LIBXML_MODULES_ENABLED

    #define LIBXML_MODULE_EXTENSION

    #define LIBXML_OUTPUT_ENABLED

    #define LIBXML_PATTERN_ENABLED

    #define LIBXML_PUSH_ENABLED

    #define LIBXML_READER_ENABLED

    #define LIBXML_REGEXP_ENABLED

    #define LIBXML_SAX1_ENABLED

    #define LIBXML_SCHEMAS_ENABLED

    #define LIBXML_SCHEMATRON_ENABLED

    #define LIBXML_TEST_VERSION

    #define LIBXML_THREAD_ENABLED

    #define LIBXML_TREE_ENABLED

    #define LIBXML_UNICODE_ENABLED

    #define LIBXML_VALID_ENABLED

    #define LIBXML_VERSION

    #define LIBXML_VERSION_EXTRA

    #define LIBXML_VERSION_STRING

    #define LIBXML_WRITER_ENABLED

    #define LIBXML_XINCLUDE_ENABLED

    #define LIBXML_XPATH_ENABLED

    #define LIBXML_XPTR_ENABLED

    #define LIBXML_ZLIB_ENABLED

    #define WITHOUT_TRIO

    #define WITH_TRIO

    void	xmlCheckVersion			(int version)

## Description

### Macro: ATTRIBUTE_UNUSED

    #define ATTRIBUTE_UNUSED

Macro used to signal to GCC unused function parameters

### Macro: DEBUG_MEMORY_LOCATION

    #define DEBUG_MEMORY_LOCATION

Whether the memory debugging is configured in

### Macro: LIBXML_AUTOMATA_ENABLED

    #define LIBXML_AUTOMATA_ENABLED

Whether the automata interfaces are compiled in

### Macro: LIBXML_C14N_ENABLED

    #define LIBXML_C14N_ENABLED

Whether the Canonicalization support is configured in

### Macro: LIBXML_CATALOG_ENABLED

    #define LIBXML_CATALOG_ENABLED

Whether the Catalog support is configured in

### Macro: LIBXML_DEBUG_ENABLED

    #define LIBXML_DEBUG_ENABLED

Whether Debugging module is configured in

### Macro: LIBXML_DEBUG_RUNTIME

    #define LIBXML_DEBUG_RUNTIME

Whether the runtime debugging is configured in

### Macro: LIBXML_DOCB_ENABLED

    #define LIBXML_DOCB_ENABLED

Whether the SGML Docbook support is configured in

### Macro: LIBXML_DOTTED_VERSION

    #define LIBXML_DOTTED_VERSION

the version string like "1.2.3"

### Macro: LIBXML_EXPR_ENABLED

    #define LIBXML_EXPR_ENABLED

Whether the formal expressions interfaces are compiled in

### Macro: LIBXML_FTP_ENABLED

    #define LIBXML_FTP_ENABLED

Whether the FTP support is configured in

### Macro: LIBXML_HTML_ENABLED

    #define LIBXML_HTML_ENABLED

Whether the HTML support is configured in

### Macro: LIBXML_HTTP_ENABLED

    #define LIBXML_HTTP_ENABLED

Whether the HTTP support is configured in

### Macro: LIBXML_ICONV_ENABLED

    #define LIBXML_ICONV_ENABLED

Whether iconv support is available

### Macro: LIBXML_ISO8859X_ENABLED

    #define LIBXML_ISO8859X_ENABLED

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

### Macro: LIBXML_LEGACY_ENABLED

    #define LIBXML_LEGACY_ENABLED

Whether the deprecated APIs are compiled in for compatibility

### Macro: LIBXML_MODULES_ENABLED

    #define LIBXML_MODULES_ENABLED

Whether the module interfaces are compiled in

### Macro: LIBXML_MODULE_EXTENSION

    #define LIBXML_MODULE_EXTENSION

the string suffix used by dynamic modules (usually shared libraries)

### Macro: LIBXML_OUTPUT_ENABLED

    #define LIBXML_OUTPUT_ENABLED

Whether the serialization/saving support is configured in

### Macro: LIBXML_PATTERN_ENABLED

    #define LIBXML_PATTERN_ENABLED

Whether the xmlPattern node selection interface is configured in

### Macro: LIBXML_PUSH_ENABLED

    #define LIBXML_PUSH_ENABLED

Whether the push parsing interfaces are configured in

### Macro: LIBXML_READER_ENABLED

    #define LIBXML_READER_ENABLED

Whether the xmlReader parsing interface is configured in

### Macro: LIBXML_REGEXP_ENABLED

    #define LIBXML_REGEXP_ENABLED

Whether the regular expressions interfaces are compiled in

### Macro: LIBXML_SAX1_ENABLED

    #define LIBXML_SAX1_ENABLED

Whether the older SAX1 interface is configured in

### Macro: LIBXML_SCHEMAS_ENABLED

    #define LIBXML_SCHEMAS_ENABLED

Whether the Schemas validation interfaces are compiled in

### Macro: LIBXML_SCHEMATRON_ENABLED

    #define LIBXML_SCHEMATRON_ENABLED

Whether the Schematron validation interfaces are compiled in

### Macro: 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

### Macro: LIBXML_THREAD_ENABLED

    #define LIBXML_THREAD_ENABLED

Whether the thread support is configured in

### Macro: LIBXML_TREE_ENABLED

    #define LIBXML_TREE_ENABLED

Whether the DOM like tree manipulation API support is configured in

### Macro: LIBXML_UNICODE_ENABLED

    #define LIBXML_UNICODE_ENABLED

Whether the Unicode related interfaces are compiled in

### Macro: LIBXML_VALID_ENABLED

    #define LIBXML_VALID_ENABLED

Whether the DTD validation support is configured in

### Macro: LIBXML_VERSION

    #define LIBXML_VERSION

the version number: 1.2.3 value is 10203

### Macro: LIBXML_VERSION_EXTRA

    #define LIBXML_VERSION_EXTRA

extra version information, used to show a CVS compilation

### Macro: LIBXML_VERSION_STRING

    #define LIBXML_VERSION_STRING

the version number string, 1.2.3 value is "10203"

### Macro: LIBXML_WRITER_ENABLED

    #define LIBXML_WRITER_ENABLED

Whether the xmlWriter saving interface is configured in

### Macro: LIBXML_XINCLUDE_ENABLED

    #define LIBXML_XINCLUDE_ENABLED

Whether XInclude is configured in

### Macro: LIBXML_XPATH_ENABLED

    #define LIBXML_XPATH_ENABLED

Whether XPath is configured in

### Macro: LIBXML_XPTR_ENABLED

    #define LIBXML_XPTR_ENABLED

Whether XPointer is configured in

### Macro: LIBXML_ZLIB_ENABLED

    #define LIBXML_ZLIB_ENABLED

Whether the Zlib support is compiled in

### Macro: WITHOUT_TRIO

    #define WITHOUT_TRIO

defined if the trio support should not be configured in

### Macro: WITH_TRIO

    #define WITH_TRIO

defined if the trio support need to be configured in

### Function: xmlCheckVersion

    void	xmlCheckVersion			(int version)

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

`version`: | the include version number

Daniel Veillard