## SECTION=system_libraries menuconfig LIBXML2 tristate prompt "libxml2 " select LIBC_M select LIBC_DL if LIBXML2_MODULES select ZLIB if LIBXML2_ZLIB select XZ if LIBXML2_LZMA select PYTHON if LIBXML2_PYTHON help Libxml2 is a XML C parser and toolkit. XML itself is a metalanguage to design markup languages, i.e. text language where semantic and structure are added to the content using extra "markup" information enclosed between angle brackets. HTML is the most well-known markup language. Though the library is written in C a variety of language bindings make it available in other environments. if LIBXML2 config LIBXML2_C14N bool default y prompt "C14N Support" help Activate the W3C XML Canonicalisation (C14N) to serialize the result of parsing to stdout. It keeps comments in the result. config LIBXML2_CATALOG bool default y prompt "Catalog support" help Add the Catalog support. What is a catalog? Basically it's a lookup mechanism used when an entity (a file or a remote resource) references another entity. The catalog lookup is inserted between the moment the reference is recognized by the software (XML parser, stylesheet processing, or even images referenced for inclusion in a rendering) and the time where loading that resource is actually started. http://xmlsoft.org/catalog.html config LIBXML2_DEBUG bool default y prompt "Debugging" help Enable debugging support. config LIBXML2_DOCBOOK bool default y prompt "Docbook support" help Enable Docbook SGML support config LIBXML2_FEXCEPTIONS bool prompt "C++ Exception Support" help Add GCC flag -fexceptions for C++ exceptions. config LIBXML2_FTP bool default y prompt "FTP Support" help Add FTP support. config LIBXML2_HISTORY bool prompt "History support for xmlling shell" help This feature adds history support to the xmllint shell. config LIBXML2_HTML bool default y prompt "HTML support" help Add HTML support. config LIBXML2_HTTP bool default y prompt "HTTP support" help Add HTTP support. config LIBXML2_ISO8859X bool default y prompt "ISO8859x support if no ICONV" help Add ISO8859X support if no iconv. config LIBXML2_LEGACY bool default y prompt "Support for deprecated APIs" help Add support for deprecated APIs (compatibility) config LIBXML2_MEM_DEBUG bool prompt "Memory Debugging Module" help Add the memory debugging support. config LIBXML2_MINIMUM bool prompt "Optimize for size" help Build a minimally sized library config LIBXML2_OUTPUT bool default y prompt "Output Serialization" help Add the serialization support. config LIBXML2_PATTERN bool default y prompt "XML Pattern Selection Interface" help Add XML Pattern selection interface config LIBXML2_PUSH bool default y prompt "PUSH Parser" help Add the PUSH parser interface. config LIBXML2_PYTHON bool prompt "Python bindings" depends on BROKEN help Build Python bindings if found. config LIBXML2_READER bool default y # FIXME: this is http://bugzilla.gnome.org/show_bug.cgi?id=545579 select LIBXML2_SCHEMAS # hard dependencies from configure.in select LIBXML2_PUSH prompt "xmlReader Parsing Interface" help Add the xmlReader parsing interface. config LIBXML2_REGEXPS bool default y prompt "Regular Expressions support" help Add support for Regular Expressions. # --with-readline=DIR use readline in DIR config LIBXML2_RUN_DEBUG bool prompt "Enable Runtime Debugging" help Enable runtime debugging module. config LIBXML2_SAX1 bool default y prompt "SAX1 API" help Enable the SAX1 API config LIBXML2_SCHEMAS bool default y # hard dependencies from configure.in select LIBXML2_PATTERN select LIBXML2_REGEXPS prompt "Relax-NG/Schema Support" help Add Relay-NG and experimental Schemas support config LIBXML2_SCHEMATRON bool default y prompt "Schematron Support" help Add Schematron support config LIBXML2_THREADS bool default y prompt "Thread support" help Add multithreaded support config LIBXML2_THREADS_ALLOC bool prompt "Per-Thread memory" help Add per-thread memory. config LIBXML2_DOM bool default y # FIXME: http://bugzilla.gnome.org/show_bug.cgi?id=545581 #prompt "DOM API" help Add the DOM tree manipulation API. config LIBXML2_DTD bool default y prompt "DTD Validation support" help Add the DTD validation support config LIBXML2_WRITER bool default y prompt "xmlWriter support" help Add XML Writer support. config LIBXML2_XINCLUDE bool default y prompt "XInclude" help XInclude support. config LIBXML2_XPATH bool default y prompt "XPATH support" help XPATH support config LIBXML2_XPTR bool default y # hard dependencies from configure.in select LIBXML2_XPATH prompt "XPTR" help XPointer support config LIBXML2_MODULES bool default y prompt "Dynamic Modules" help Dynamic Modules support. config LIBXML2_ZLIB bool default y prompt "zlib (compression) support" config LIBXML2_LZMA bool prompt "lzma (compression) support" help LZMA (compression) support with liblzma from XZ tools. endif