--On 12 July 2012 09:37:23 +0200 [email protected] wrote:

I use this command line to compile : gcc `xml2-config --cflags --libs` -o
librairie_xml librairie_xml.c

If your xml library is actually installed, you want to do:

#include <libxml/parser.h>
#include <libxml/tree.h>

not

#include "libxml/parser.h"
#include "libxml/tree.h"

Can I suggest you look at
http://www.xmlsoft.org/examples/index.html

and download and compile an example or two. Once you have those working,
start using your own code. Perhaps modify the examples a bit.

--
Alex Bligh
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to