From Rosetta Code
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.

The library libxml is a software library for parsing XML documents and it is part, through GNOME, of the GNU Project.

Several bindings for several languages exist.

Homepage is at Libxml2 homepage

To compile a sample program that use the libxml2:

gcc -o example -I /usr/include/libxml2 -lxml2 example.c

If libxml2 headers are in the same folder as the Standard C headers, then the following will work :

gcc -o example -lxml2 example.c

Pages in category "LibXML"

The following 5 pages are in this category, out of 5 total.