Open main menu

Wikipedia β

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; 18 years ago (1999-09-23)
Stable release 2.9.7 (November 2, 2017; 3 months ago (2017-11-02)[1]) [±]
Repository Edit this at Wikidata
Written in C
Operating system Unix-like, with partial ported to Windows, macOS, Solaris, HP-UX, AIX[2]
Type XML parser
License MIT License



Written in the C programming language, libxml2 provides bindings to C++, Ch,[3] XSH, C#, Python, Kylix/Delphi and other Pascals, Ruby, Common Lisp,[4] and PHP. [5] It can be accessed from the Perl programming language using the XML::LibXML module. It was originally developed for the GNOME project, but can be used outside it. The libXML code is highly portable,[6] since it depends on standard ANSI C libraries only, [7] and it is released under the MIT license. This library was written by Daniel Veillard and enjoys active feedback from its users.

It includes the command-line utility xmllint and an HTML parser.[8]

See alsoEdit


  1. ^ "Releases". Retrieved 3 November 2017. 
  2. ^ "Downloads". Retrieved 25 December 2017. 
  3. ^ "ch libxml2 open source binding". 
  4. ^ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries". 
  5. ^ "PHP: libxml - Manual". Retrieved 2016-05-16. 
  6. ^ "Python and bindings". Retrieved 2016-05-16. 
  7. ^ "The XML C parser and toolkit of Gnome". Retrieved 2016-05-16. 
  8. ^ "HTMLparser". 

External linksEdit