Parse a xml file in vc++

Hi all,

I have to write a program in VC++6.0 in which I have to read a xml file into buffer and then parse it to display the contents and values of all the nodes..

I am able to read it into buffer but it not able to parse it.
Can anyone help me as soon as possible???
I suggest you use a XML parser. Have a look at this. Its simple enough

www.grinninglizard.com/tinyxml/
I have to write a program ...

If this is a work assignment, I'd definititely consider TinyXML.

Or is it an exercise in string parsing for a course of some kind? If so, some kind of the indication of the level would help us to pitch our responses better.

Andy
Last edited on
Hi Andy and Pravesh

Thanks for your reply but I have to use RapidXml.
Can you suggest me some way to do this using rapidxml.
I don't know anything about RapidXML, but its manual looks resonable.
http://rapidxml.sourceforge.net/manual.html

Don't these examples provide the info you need??

By the way, while I see it mentions Visual C++ 2003 and newer, it not not mention Visual C++ 6.0. So you might hit some language compatibility issues.

Do you absolutely have to use VC++6.0??

Andy


Hi Andy,

I have to use VC++6.0 only.
I had already referred this manual but it is also not solving my problem.

Thanks
Preeti
If you have a specific problem, and can post the key details, then someone might be able to help you. So far you've not presented enough info.
Topic archived. No new replies allowed.