From EDM2
Jump to: navigation, search

A multi-platform XML parser and related utilities written in C that can be utilised as a library or compiled as an external utility, in addition there are a number of bindings available for other languages and a separate version for Python known simply as Libxml2-Python that is available in versions for both Python 2 and 3 (There is also a binding available for Python if you prefer). The officially supported language bindings include C++, Pascal, Perl, PHP, Ruby and Tcl in addition to the aforementioned Python option.

See also: Libxslt

Other systems

Although originally developed for the Gnome, both programs have been ported to a large number of systems including most UNIX and UNIX like systems, Microsoft Windows, System i and Mac OS X.


It is a judgement call if you choose to use the already ported Libxml2 or just compile from the most current sources, utilising the diffs from the OS/2 port appears to allow you to compile the newest version without any errors being flagged, on the other hand that has not been tested very much, and there are no major functionality differences between the two versions although there is quite a lot of bug fixes and general improvements. Same goes for Libxslt.