How to read an XML file in C++.?
-
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
Oh I doubt it. I dont think anyone's ever used c++ to read xml files, let alone written a library for it. Google will surely vindicate me.. :-\
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
See if this will get you started.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
MSXML and tinyXML are two options for you.
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
I use Expat to read XML files. See http://www.libexpat.org/. I use to this to read Excel XLSX files once they are unzipped with the zlib library.
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
We build our own library on top of MSXML (painful). Now, I'm trying to push http://pugixml.org/[^] for our XML need; I've used it for relatively small and not too complex XML files and it works great.
I'd rather be phishing!
-
Hi, I want to read an xml file in C++. Is there any sample code or any library available.? I want to read the contents of XML file. Its nodes and attribute's value. I need an XML parser written in C++. Any help will be appreciated. Regards, Mbatra
Using MSXML to read XML documents[^] Great, intuitive lib to MSXML.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [soonr.com -- PC Power delivered to your phone](http://www.soonr.com)