Jump to content

libxml2

From Wikipedia, the free encyclopedia
(Redirected from LibXML)
libxml2
Original author(s)The GNOME Project
Initial releaseSeptember 23, 1999; 25 years ago (1999-09-23)
Stable release
2.14.5[1] Edit this on Wikidata / July 15, 2025; 11 days ago (July 15, 2025)
Repository
Written inC
Operating systemcross-platform[2]
TypeXML parser, XML validator
LicenseMIT License
Websitexmlsoft.org Edit this on Wikidata

libxml2 is a software library for parsing XML documents. It is also the basis for the libxslt library which processes XSLT-1.0 stylesheets.

Description

[edit]

Written 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]

While the maintainer is an unpaid volunteer, the library is used in commercial software. The maintainer has declared that he will treat security problem reports as normal bugs, fixed when there is time. They hope thus to force commercial users to contribute work or money for maintenance.[10]

See also

[edit]

References

[edit]
  1. ^ "v2.14.5 · GNOME / libxml2 · GitLab". Retrieved 16 July 2025.
  2. ^ "Introduction". 28 November 2017. Retrieved 25 March 2018.
  3. ^ "ch libxml2 open source binding".
  4. ^ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries".
  5. ^ "PHP: libxml - Manual". php.net. Retrieved 2016-05-16.
  6. ^ "Python and bindings". www.xmlsoft.org. Retrieved 2016-05-16.
  7. ^ "The XML C parser and toolkit of Gnome". www.xmlsoft.org. Retrieved 2016-05-16.
  8. ^ "Home · Wiki · GNOME / libxml2 · GitLab". GitLab. 2022-12-08. Retrieved 2023-06-26.
  9. ^ Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". libxml2 Reference Manual. GNOME.
  10. ^ Brockmeier, Joe (June 25, 2025). "Libxml2's 'no security embargoes' policy". LWN.net. Retrieved 16 July 2025.
[edit]