XML Parser + Data binding
Apr 4, 2013 at 11:32pm UTC
Hi!
I want to take information from an XML document and make classes or structs of them.
I've been looking a little at this:
http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#5
But I don't really get it yet, Will probably take me a couple of days.
So the questions are:
So, I have to create a xsd file that tells the structure of the XML, and what else?
Is there a better way to do this?
Or am I just plain wrong here? I am a total beginner at this XML business.
In case you're wondering i'm trying to use the quicklook and marketstat APIs from here:
http://dev.eve-central.com/evec-api/start
Last edited on Apr 5, 2013 at 12:21am UTC
Apr 5, 2013 at 10:23am UTC
Darn, never any responses to my posts :(
Apr 5, 2013 at 10:43am UTC
Apr 5, 2013 at 11:27am UTC
Ok, seems to have a good tutorial as well. Thanks!
Apr 5, 2013 at 11:42am UTC
There's also gSoap:
http://www.cs.fsu.edu/~engelen/soap.html
I use this for consuming SOAP web services, parsing and serialising to XML - making use of your XSD to generate nice, strongly-typed classes that map to your XML structure.
The documentation isn't great but it does get the job done. However it may be overkill for your needs, in which case +1 to coder777's recommendation.
Topic archived. No new replies allowed.