libxml2 is a software library for parsing XML documents. It is also the basis for the libxslt library which processes XSLT-1.0 stylesheets.
Original author(s) | The GNOME Project |
---|---|
Initial release | September 23, 1999 |
Stable release | 2.13.4[1]
/ September 18, 2024 |
Repository | |
Written in | C |
Operating system | cross-platform[2] |
Type | XML parser, XML validator |
License | MIT License |
Website | xmlsoft |
Description
editWritten in the C programming language, libxml2 provides bindings to C++, Ch,[3] XSH, C#, Python, Swift, Kylix/Delphi and other Pascals, Ruby, Perl, Common Lisp,[4] and PHP.[5] It was originally developed for the GNOME project, but can be used outside it. libxml2's code is highly portable[6] since it only depends on standard ANSI C libraries[7] and it is available under the MIT license.[8]
It includes the command-line utility xmllint and an HTML parser.[9]
See also
edit- libxslt (the LibXML2's XSLT module)
- XML validation
- Comparison of HTML parsers
- Expat (library)
- Saxon XSLT
- Xerces
References
edit- ^ "libxml2 2.13.4 · GNOME / libxml2 · GitLab". Retrieved 19 September 2024.
- ^ "Introduction". 28 November 2017. Retrieved 25 March 2018.
- ^ "ch libxml2 open source binding".
- ^ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries".
- ^ "PHP: libxml - Manual". php.net. Retrieved 2016-05-16.
- ^ "Python and bindings". www.xmlsoft.org. Retrieved 2016-05-16.
- ^ "The XML C parser and toolkit of Gnome". www.xmlsoft.org. Retrieved 2016-05-16.
- ^ "Home · Wiki · GNOME / libxml2 · GitLab". GitLab. 2022-12-08. Retrieved 2023-06-26.
- ^ Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". libxml2 Reference Manual. GNOME.