Category:LibXML: Difference between revisions
Content added Content deleted
(added what I wrote for libxml) |
(Added a compilation option for C programs using libxml2) |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
Homepage is at [http://xmlsoft.org/index.html Libxml2 homepage] |
Homepage is at [http://xmlsoft.org/index.html 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 |
Latest revision as of 01:20, 10 March 2018
Library
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.
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.