Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

C/C++ parsing using libxml

Question posted by: mohsaied (Newbie) on July 24th, 2008 12:55 PM
Hi all,
I want to write a simple C/C++ (preferably c++) code to take an xml file as input and parse it, thats all!
I want to do it using libxml2, i already installed it on my devcpp so thats no prob.

Also if anyone knows a place where i can learn stuff about the libxml library, that would be great.

So if someone has an idea or code or anything to help; please post back or just mail me: ::Email removed per Posting Guidelines:: :)

thank you

....and by the way, whenever i use anything from the library it gives me this error:

[Linker error] undefined reference to `xmlParseFile'

whats that all about?
Laharl's Avatar
Laharl
Expert
800 Posts
July 24th, 2008
03:53 PM
#2

Re: C/C++ parsing using libxml
Did you #include the appropriate library files? Also, you might want to try Google for help with that XML library...

Reply
gpraghuram's Avatar
gpraghuram
Expert
1,124 Posts
July 25th, 2008
01:19 AM
#3

Re: C/C++ parsing using libxml
If you have downloaded the libxml source , then check for examples in it.
Its better to start from there

Raghu

Reply
Reply
Not the answer you were looking for? Post your question . . .
190,071 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top C / C++ Forum Contributors