1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>xmlversion: compile-time version information</title> 5<meta name="generator" content="Libxml2 devhelp stylesheet"> 6<link rel="start" href="index.html" title="libxml2 Reference Manual"> 7<link rel="up" href="general.html" title="API"> 8<link rel="stylesheet" href="style.css" type="text/css"> 9<link rel="chapter" href="general.html" title="API"> 10</head> 11<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 12<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> 13<td><a accesskey="p" href="libxml2-xmlunicode.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> 14<td><a accesskey="u" href="general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> 15<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> 16<td><a accesskey="n" href="libxml2-xmlwriter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> 17<th width="100%" align="center">libxml2 Reference Manual</th> 18</tr></table> 19<h2><span class="refentrytitle">xmlversion</span></h2> 20<p>xmlversion - compile-time version information</p> 21<p>compile-time version information for the XML library </p> 22<p>Author(s): Daniel Veillard </p> 23<div class="refsynopsisdiv"> 24<h2>Synopsis</h2> 25<pre class="synopsis">#define <a href="#LIBXML_AUTOMATA_ENABLED">LIBXML_AUTOMATA_ENABLED</a>; 26#define <a href="#LIBXML_C14N_ENABLED">LIBXML_C14N_ENABLED</a>; 27#define <a href="#LIBXML_CATALOG_ENABLED">LIBXML_CATALOG_ENABLED</a>; 28#define <a href="#LIBXML_DEBUG_ENABLED">LIBXML_DEBUG_ENABLED</a>; 29#define <a href="#LIBXML_DOTTED_VERSION">LIBXML_DOTTED_VERSION</a>; 30#define <a href="#LIBXML_FTP_ENABLED">LIBXML_FTP_ENABLED</a>; 31#define <a href="#LIBXML_HTML_ENABLED">LIBXML_HTML_ENABLED</a>; 32#define <a href="#LIBXML_HTTP_ENABLED">LIBXML_HTTP_ENABLED</a>; 33#define <a href="#LIBXML_ICONV_ENABLED">LIBXML_ICONV_ENABLED</a>; 34#define <a href="#LIBXML_ICU_ENABLED">LIBXML_ICU_ENABLED</a>; 35#define <a href="#LIBXML_ISO8859X_ENABLED">LIBXML_ISO8859X_ENABLED</a>; 36#define <a href="#LIBXML_LEGACY_ENABLED">LIBXML_LEGACY_ENABLED</a>; 37#define <a href="#LIBXML_LZMA_ENABLED">LIBXML_LZMA_ENABLED</a>; 38#define <a href="#LIBXML_MODULES_ENABLED">LIBXML_MODULES_ENABLED</a>; 39#define <a href="#LIBXML_MODULE_EXTENSION">LIBXML_MODULE_EXTENSION</a>; 40#define <a href="#LIBXML_OUTPUT_ENABLED">LIBXML_OUTPUT_ENABLED</a>; 41#define <a href="#LIBXML_PATTERN_ENABLED">LIBXML_PATTERN_ENABLED</a>; 42#define <a href="#LIBXML_PUSH_ENABLED">LIBXML_PUSH_ENABLED</a>; 43#define <a href="#LIBXML_READER_ENABLED">LIBXML_READER_ENABLED</a>; 44#define <a href="#LIBXML_REGEXP_ENABLED">LIBXML_REGEXP_ENABLED</a>; 45#define <a href="#LIBXML_SAX1_ENABLED">LIBXML_SAX1_ENABLED</a>; 46#define <a href="#LIBXML_SCHEMAS_ENABLED">LIBXML_SCHEMAS_ENABLED</a>; 47#define <a href="#LIBXML_SCHEMATRON_ENABLED">LIBXML_SCHEMATRON_ENABLED</a>; 48#define <a href="#LIBXML_TEST_VERSION">LIBXML_TEST_VERSION</a>; 49#define <a href="#LIBXML_THREAD_ALLOC_ENABLED">LIBXML_THREAD_ALLOC_ENABLED</a>; 50#define <a href="#LIBXML_THREAD_ENABLED">LIBXML_THREAD_ENABLED</a>; 51#define <a href="#LIBXML_TREE_ENABLED">LIBXML_TREE_ENABLED</a>; 52#define <a href="#LIBXML_UNICODE_ENABLED">LIBXML_UNICODE_ENABLED</a>; 53#define <a href="#LIBXML_VALID_ENABLED">LIBXML_VALID_ENABLED</a>; 54#define <a href="#LIBXML_VERSION">LIBXML_VERSION</a>; 55#define <a href="#LIBXML_VERSION_EXTRA">LIBXML_VERSION_EXTRA</a>; 56#define <a href="#LIBXML_VERSION_STRING">LIBXML_VERSION_STRING</a>; 57#define <a href="#LIBXML_WRITER_ENABLED">LIBXML_WRITER_ENABLED</a>; 58#define <a href="#LIBXML_XINCLUDE_ENABLED">LIBXML_XINCLUDE_ENABLED</a>; 59#define <a href="#LIBXML_XPATH_ENABLED">LIBXML_XPATH_ENABLED</a>; 60#define <a href="#LIBXML_XPTR_ENABLED">LIBXML_XPTR_ENABLED</a>; 61#define <a href="#LIBXML_XPTR_LOCS_ENABLED">LIBXML_XPTR_LOCS_ENABLED</a>; 62#define <a href="#LIBXML_ZLIB_ENABLED">LIBXML_ZLIB_ENABLED</a>; 63</pre> 64</div> 65<div class="refsect1" lang="en"><h2>Description</h2></div> 66<div class="refsect1" lang="en"> 67<h2>Details</h2> 68<div class="refsect2" lang="en"> 69<div class="refsect2" lang="en"> 70<h3> 71<a name="LIBXML_AUTOMATA_ENABLED">Macro </a>LIBXML_AUTOMATA_ENABLED</h3> 72<pre class="programlisting">#define <a href="#LIBXML_AUTOMATA_ENABLED">LIBXML_AUTOMATA_ENABLED</a>; 73</pre> 74<p>Whether the automata interfaces are compiled in</p> 75</div> 76<hr> 77<div class="refsect2" lang="en"> 78<h3> 79<a name="LIBXML_C14N_ENABLED">Macro </a>LIBXML_C14N_ENABLED</h3> 80<pre class="programlisting">#define <a href="#LIBXML_C14N_ENABLED">LIBXML_C14N_ENABLED</a>; 81</pre> 82<p>Whether the Canonicalization support is configured in</p> 83</div> 84<hr> 85<div class="refsect2" lang="en"> 86<h3> 87<a name="LIBXML_CATALOG_ENABLED">Macro </a>LIBXML_CATALOG_ENABLED</h3> 88<pre class="programlisting">#define <a href="#LIBXML_CATALOG_ENABLED">LIBXML_CATALOG_ENABLED</a>; 89</pre> 90<p>Whether the Catalog support is configured in</p> 91</div> 92<hr> 93<div class="refsect2" lang="en"> 94<h3> 95<a name="LIBXML_DEBUG_ENABLED">Macro </a>LIBXML_DEBUG_ENABLED</h3> 96<pre class="programlisting">#define <a href="#LIBXML_DEBUG_ENABLED">LIBXML_DEBUG_ENABLED</a>; 97</pre> 98<p>Whether Debugging module is configured in</p> 99</div> 100<hr> 101<div class="refsect2" lang="en"> 102<h3> 103<a name="LIBXML_DOTTED_VERSION">Macro </a>LIBXML_DOTTED_VERSION</h3> 104<pre class="programlisting">#define <a href="#LIBXML_DOTTED_VERSION">LIBXML_DOTTED_VERSION</a>; 105</pre> 106<p>the version string like "1.2.3"</p> 107</div> 108<hr> 109<div class="refsect2" lang="en"> 110<h3> 111<a name="LIBXML_FTP_ENABLED">Macro </a>LIBXML_FTP_ENABLED</h3> 112<pre class="programlisting">#define <a href="#LIBXML_FTP_ENABLED">LIBXML_FTP_ENABLED</a>; 113</pre> 114<p>Whether the FTP support is configured in</p> 115</div> 116<hr> 117<div class="refsect2" lang="en"> 118<h3> 119<a name="LIBXML_HTML_ENABLED">Macro </a>LIBXML_HTML_ENABLED</h3> 120<pre class="programlisting">#define <a href="#LIBXML_HTML_ENABLED">LIBXML_HTML_ENABLED</a>; 121</pre> 122<p>Whether the HTML support is configured in</p> 123</div> 124<hr> 125<div class="refsect2" lang="en"> 126<h3> 127<a name="LIBXML_HTTP_ENABLED">Macro </a>LIBXML_HTTP_ENABLED</h3> 128<pre class="programlisting">#define <a href="#LIBXML_HTTP_ENABLED">LIBXML_HTTP_ENABLED</a>; 129</pre> 130<p>Whether the HTTP support is configured in</p> 131</div> 132<hr> 133<div class="refsect2" lang="en"> 134<h3> 135<a name="LIBXML_ICONV_ENABLED">Macro </a>LIBXML_ICONV_ENABLED</h3> 136<pre class="programlisting">#define <a href="#LIBXML_ICONV_ENABLED">LIBXML_ICONV_ENABLED</a>; 137</pre> 138<p>Whether iconv support is available</p> 139</div> 140<hr> 141<div class="refsect2" lang="en"> 142<h3> 143<a name="LIBXML_ICU_ENABLED">Macro </a>LIBXML_ICU_ENABLED</h3> 144<pre class="programlisting">#define <a href="#LIBXML_ICU_ENABLED">LIBXML_ICU_ENABLED</a>; 145</pre> 146<p>Whether icu support is available</p> 147</div> 148<hr> 149<div class="refsect2" lang="en"> 150<h3> 151<a name="LIBXML_ISO8859X_ENABLED">Macro </a>LIBXML_ISO8859X_ENABLED</h3> 152<pre class="programlisting">#define <a href="#LIBXML_ISO8859X_ENABLED">LIBXML_ISO8859X_ENABLED</a>; 153</pre> 154<p>Whether ISO-8859-* support is made available in case iconv is not</p> 155</div> 156<hr> 157<div class="refsect2" lang="en"> 158<h3> 159<a name="LIBXML_LEGACY_ENABLED">Macro </a>LIBXML_LEGACY_ENABLED</h3> 160<pre class="programlisting">#define <a href="#LIBXML_LEGACY_ENABLED">LIBXML_LEGACY_ENABLED</a>; 161</pre> 162<p>Whether the deprecated APIs are compiled in for compatibility</p> 163</div> 164<hr> 165<div class="refsect2" lang="en"> 166<h3> 167<a name="LIBXML_LZMA_ENABLED">Macro </a>LIBXML_LZMA_ENABLED</h3> 168<pre class="programlisting">#define <a href="#LIBXML_LZMA_ENABLED">LIBXML_LZMA_ENABLED</a>; 169</pre> 170<p>Whether the Lzma support is compiled in</p> 171</div> 172<hr> 173<div class="refsect2" lang="en"> 174<h3> 175<a name="LIBXML_MODULES_ENABLED">Macro </a>LIBXML_MODULES_ENABLED</h3> 176<pre class="programlisting">#define <a href="#LIBXML_MODULES_ENABLED">LIBXML_MODULES_ENABLED</a>; 177</pre> 178<p>Whether the module interfaces are compiled in</p> 179</div> 180<hr> 181<div class="refsect2" lang="en"> 182<h3> 183<a name="LIBXML_MODULE_EXTENSION">Macro </a>LIBXML_MODULE_EXTENSION</h3> 184<pre class="programlisting">#define <a href="#LIBXML_MODULE_EXTENSION">LIBXML_MODULE_EXTENSION</a>; 185</pre> 186<p>the string suffix used by dynamic modules (usually shared libraries)</p> 187</div> 188<hr> 189<div class="refsect2" lang="en"> 190<h3> 191<a name="LIBXML_OUTPUT_ENABLED">Macro </a>LIBXML_OUTPUT_ENABLED</h3> 192<pre class="programlisting">#define <a href="#LIBXML_OUTPUT_ENABLED">LIBXML_OUTPUT_ENABLED</a>; 193</pre> 194<p>Whether the serialization/saving support is configured in</p> 195</div> 196<hr> 197<div class="refsect2" lang="en"> 198<h3> 199<a name="LIBXML_PATTERN_ENABLED">Macro </a>LIBXML_PATTERN_ENABLED</h3> 200<pre class="programlisting">#define <a href="#LIBXML_PATTERN_ENABLED">LIBXML_PATTERN_ENABLED</a>; 201</pre> 202<p>Whether the <a href="libxml2-pattern.html#xmlPattern">xmlPattern</a> node selection interface is configured in</p> 203</div> 204<hr> 205<div class="refsect2" lang="en"> 206<h3> 207<a name="LIBXML_PUSH_ENABLED">Macro </a>LIBXML_PUSH_ENABLED</h3> 208<pre class="programlisting">#define <a href="#LIBXML_PUSH_ENABLED">LIBXML_PUSH_ENABLED</a>; 209</pre> 210<p>Whether the push parsing interfaces are configured in</p> 211</div> 212<hr> 213<div class="refsect2" lang="en"> 214<h3> 215<a name="LIBXML_READER_ENABLED">Macro </a>LIBXML_READER_ENABLED</h3> 216<pre class="programlisting">#define <a href="#LIBXML_READER_ENABLED">LIBXML_READER_ENABLED</a>; 217</pre> 218<p>Whether the xmlReader parsing interface is configured in</p> 219</div> 220<hr> 221<div class="refsect2" lang="en"> 222<h3> 223<a name="LIBXML_REGEXP_ENABLED">Macro </a>LIBXML_REGEXP_ENABLED</h3> 224<pre class="programlisting">#define <a href="#LIBXML_REGEXP_ENABLED">LIBXML_REGEXP_ENABLED</a>; 225</pre> 226<p>Whether the regular expressions interfaces are compiled in</p> 227</div> 228<hr> 229<div class="refsect2" lang="en"> 230<h3> 231<a name="LIBXML_SAX1_ENABLED">Macro </a>LIBXML_SAX1_ENABLED</h3> 232<pre class="programlisting">#define <a href="#LIBXML_SAX1_ENABLED">LIBXML_SAX1_ENABLED</a>; 233</pre> 234<p>Whether the older SAX1 interface is configured in</p> 235</div> 236<hr> 237<div class="refsect2" lang="en"> 238<h3> 239<a name="LIBXML_SCHEMAS_ENABLED">Macro </a>LIBXML_SCHEMAS_ENABLED</h3> 240<pre class="programlisting">#define <a href="#LIBXML_SCHEMAS_ENABLED">LIBXML_SCHEMAS_ENABLED</a>; 241</pre> 242<p>Whether the Schemas validation interfaces are compiled in</p> 243</div> 244<hr> 245<div class="refsect2" lang="en"> 246<h3> 247<a name="LIBXML_SCHEMATRON_ENABLED">Macro </a>LIBXML_SCHEMATRON_ENABLED</h3> 248<pre class="programlisting">#define <a href="#LIBXML_SCHEMATRON_ENABLED">LIBXML_SCHEMATRON_ENABLED</a>; 249</pre> 250<p>Whether the Schematron validation interfaces are compiled in</p> 251</div> 252<hr> 253<div class="refsect2" lang="en"> 254<h3> 255<a name="LIBXML_TEST_VERSION">Macro </a>LIBXML_TEST_VERSION</h3> 256<pre class="programlisting">#define <a href="#LIBXML_TEST_VERSION">LIBXML_TEST_VERSION</a>; 257</pre> 258<p>Macro to check that the libxml version in use is compatible with the version the software has been compiled against</p> 259</div> 260<hr> 261<div class="refsect2" lang="en"> 262<h3> 263<a name="LIBXML_THREAD_ALLOC_ENABLED">Macro </a>LIBXML_THREAD_ALLOC_ENABLED</h3> 264<pre class="programlisting">#define <a href="#LIBXML_THREAD_ALLOC_ENABLED">LIBXML_THREAD_ALLOC_ENABLED</a>; 265</pre> 266<p>Whether the allocation hooks are per-thread</p> 267</div> 268<hr> 269<div class="refsect2" lang="en"> 270<h3> 271<a name="LIBXML_THREAD_ENABLED">Macro </a>LIBXML_THREAD_ENABLED</h3> 272<pre class="programlisting">#define <a href="#LIBXML_THREAD_ENABLED">LIBXML_THREAD_ENABLED</a>; 273</pre> 274<p>Whether the thread support is configured in</p> 275</div> 276<hr> 277<div class="refsect2" lang="en"> 278<h3> 279<a name="LIBXML_TREE_ENABLED">Macro </a>LIBXML_TREE_ENABLED</h3> 280<pre class="programlisting">#define <a href="#LIBXML_TREE_ENABLED">LIBXML_TREE_ENABLED</a>; 281</pre> 282<p>Whether the DOM like tree manipulation API support is configured in</p> 283</div> 284<hr> 285<div class="refsect2" lang="en"> 286<h3> 287<a name="LIBXML_UNICODE_ENABLED">Macro </a>LIBXML_UNICODE_ENABLED</h3> 288<pre class="programlisting">#define <a href="#LIBXML_UNICODE_ENABLED">LIBXML_UNICODE_ENABLED</a>; 289</pre> 290<p>Whether the Unicode related interfaces are compiled in</p> 291</div> 292<hr> 293<div class="refsect2" lang="en"> 294<h3> 295<a name="LIBXML_VALID_ENABLED">Macro </a>LIBXML_VALID_ENABLED</h3> 296<pre class="programlisting">#define <a href="#LIBXML_VALID_ENABLED">LIBXML_VALID_ENABLED</a>; 297</pre> 298<p>Whether the DTD validation support is configured in</p> 299</div> 300<hr> 301<div class="refsect2" lang="en"> 302<h3> 303<a name="LIBXML_VERSION">Macro </a>LIBXML_VERSION</h3> 304<pre class="programlisting">#define <a href="#LIBXML_VERSION">LIBXML_VERSION</a>; 305</pre> 306<p>the version number: 1.2.3 value is 10203</p> 307</div> 308<hr> 309<div class="refsect2" lang="en"> 310<h3> 311<a name="LIBXML_VERSION_EXTRA">Macro </a>LIBXML_VERSION_EXTRA</h3> 312<pre class="programlisting">#define <a href="#LIBXML_VERSION_EXTRA">LIBXML_VERSION_EXTRA</a>; 313</pre> 314<p>extra version information, used to show a git commit description</p> 315</div> 316<hr> 317<div class="refsect2" lang="en"> 318<h3> 319<a name="LIBXML_VERSION_STRING">Macro </a>LIBXML_VERSION_STRING</h3> 320<pre class="programlisting">#define <a href="#LIBXML_VERSION_STRING">LIBXML_VERSION_STRING</a>; 321</pre> 322<p>the version number string, 1.2.3 value is "10203"</p> 323</div> 324<hr> 325<div class="refsect2" lang="en"> 326<h3> 327<a name="LIBXML_WRITER_ENABLED">Macro </a>LIBXML_WRITER_ENABLED</h3> 328<pre class="programlisting">#define <a href="#LIBXML_WRITER_ENABLED">LIBXML_WRITER_ENABLED</a>; 329</pre> 330<p>Whether the xmlWriter saving interface is configured in</p> 331</div> 332<hr> 333<div class="refsect2" lang="en"> 334<h3> 335<a name="LIBXML_XINCLUDE_ENABLED">Macro </a>LIBXML_XINCLUDE_ENABLED</h3> 336<pre class="programlisting">#define <a href="#LIBXML_XINCLUDE_ENABLED">LIBXML_XINCLUDE_ENABLED</a>; 337</pre> 338<p>Whether XInclude is configured in</p> 339</div> 340<hr> 341<div class="refsect2" lang="en"> 342<h3> 343<a name="LIBXML_XPATH_ENABLED">Macro </a>LIBXML_XPATH_ENABLED</h3> 344<pre class="programlisting">#define <a href="#LIBXML_XPATH_ENABLED">LIBXML_XPATH_ENABLED</a>; 345</pre> 346<p>Whether XPath is configured in</p> 347</div> 348<hr> 349<div class="refsect2" lang="en"> 350<h3> 351<a name="LIBXML_XPTR_ENABLED">Macro </a>LIBXML_XPTR_ENABLED</h3> 352<pre class="programlisting">#define <a href="#LIBXML_XPTR_ENABLED">LIBXML_XPTR_ENABLED</a>; 353</pre> 354<p>Whether XPointer is configured in</p> 355</div> 356<hr> 357<div class="refsect2" lang="en"> 358<h3> 359<a name="LIBXML_XPTR_LOCS_ENABLED">Macro </a>LIBXML_XPTR_LOCS_ENABLED</h3> 360<pre class="programlisting">#define <a href="#LIBXML_XPTR_LOCS_ENABLED">LIBXML_XPTR_LOCS_ENABLED</a>; 361</pre> 362<p>Whether support for XPointer locations is configured in</p> 363</div> 364<hr> 365<div class="refsect2" lang="en"> 366<h3> 367<a name="LIBXML_ZLIB_ENABLED">Macro </a>LIBXML_ZLIB_ENABLED</h3> 368<pre class="programlisting">#define <a href="#LIBXML_ZLIB_ENABLED">LIBXML_ZLIB_ENABLED</a>; 369</pre> 370<p>Whether the Zlib support is compiled in</p> 371</div> 372<hr> 373</div> 374</div> 375</body> 376</html> 377