XML and Parsers???

Leonard J. Reder

Usenet Archive
Joined
Aug 5, 2003
Messages
18
Reaction score
0
Hello,

I am totally new to the idea of XML but have been reading about it and it seems to apply for my application. I have some files with detection results and graphical shape properties that I wish to generallize and standardize with a specific ML sort of notation since it seems this is easy to verify and parse. Is there a standard parser with schema varification for C++ (and Python). I also need to generate from C++ as well. All code runs on Linux.

Also is there a recommended textbook on XML?

Thanks for any replies,

Len
 

Arto V. Viitanen

Usenet Archive
Joined
Oct 2, 2002
Messages
39
Reaction score
0
Leonard> Hello, I am totally new to the idea of XML but have been reading Leonard> about it and it seems to apply for my application. I have some Leonard> files with detection results and graphical shape properties that I Leonard> wish to generallize and standardize with a specific ML sort of Leonard> notation since it seems this is easy to verify and parse. Is there Leonard> a standard parser with schema varification for C++ (and Python). I Leonard> also need to generate from C++ as well. All code runs on Linux.

For Python, there is XML package coming with the system. However, you might like to check PyXML, since it more generic. I don't know about XML and C++, but I'd check Xerces-C++ from http://xml.apache.org.

I just wrote some Python stuff, and used SAX for parsing and DOM for generating XML. They are common techniques, you could check from http://w3.org.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,042
Messages
3,104,223
Members
248,131
Latest member
Tonypshaw1

Latest Threads

Top