Read XML File in C/C++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2006
Posts: 8
Reputation: paramveer is an unknown quantity at this point 
Solved Threads: 0
paramveer paramveer is offline Offline
Newbie Poster

Read XML File in C/C++

 
0
  #1
Jun 30th, 2006
HEllo Everybody.....

feels nice to be part of daniweb..community..joined only today......
i am quite ignorant of XML.....but now i have to develop a c/c++ program which reads a XML file......stored on LAN.....retreives the content of the file...and do necesarry manipulation with the retreived data......actually the xml file contains the name of an image and the coordinates of certain points in that image......so the task is to read xml file....then open the corresponding image file and plot the retreived points...in the image.........since i work in image processing..so i have written the code for opening the image and plotting the points...but since i know a little about xml....so i dont know how to reteive the name of image and coordinates from the xml file......
Please help!!!!
Thanks
Paramveer
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,340
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1458
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Read XML File in C/C++

 
0
  #2
Jun 30th, 2006
try any one of these, but be prepared to learn lots of COM stuff. This is one case I recommend doing it in VB.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 8
Reputation: paramveer is an unknown quantity at this point 
Solved Threads: 0
paramveer paramveer is offline Offline
Newbie Poster

Re: Read XML File in C/C++

 
0
  #3
Jun 30th, 2006
Hello
Thanks for replying...actually by C/C++ i meant Visual C++.....so instead of VB.....as you said........cant it be done easily in Visual C++....if possible tell me how to do in Visual C++......i cannot use VB...because rest of my code is in Visual C++.....please tell me by some giving some points...as to what the approach should be....instead of giving google links....
Thanks a LOT for Replying.....
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,340
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1458
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Read XML File in C/C++

 
0
  #4
Jun 30th, 2006
>>please tell me by some giving some points...as to what the approach should be....instead of giving google links

The link I posted was incorrect -- see my next post for some good ones.

you really need to learn to do some research on your own. reading xls files isn't a simple task. The file format is a Microsoft secret, subject to change from one version of Excell to another, and requires knowedge of COM because you will be calling some Excell functions to manipulate the file, you don't do it in your program directly because you will not know the file format. If you really want to do that there is information out there that you will need to study. google is the FIRST place you should be looking and maybe a book from www.amazon.com or your local book store.
Last edited by Ancient Dragon; Jun 30th, 2006 at 6:50 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,340
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1458
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Read XML File in C/C++

 
0
  #5
Jun 30th, 2006
The link should have been this one. But then you could have easily found that out yourself.

And here are some others about Excel Automation
Last edited by Ancient Dragon; Jun 30th, 2006 at 6:47 am.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Read XML File in C/C++

 
0
  #6
Jun 30th, 2006
Um. I think you got it confused dragon. He is infact looking to read an XML file. So I think your first link is correct.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,340
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1458
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Read XML File in C/C++

 
0
  #7
Jun 30th, 2006
Originally Posted by WolfPack
Um. I think you got it confused dragon. He is infact looking to read an XML file. So I think your first link is correct.
Well, in that case forget what I posted about Excell Automation -- it has nothing to do with XML files. Guess I must be getting senile in my old age:mrgreen:
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,340
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1458
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Read XML File in C/C++

 
0
  #8
Jun 30th, 2006
I think Boost Libraries has some xml parsing functions that might help
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 8
Reputation: paramveer is an unknown quantity at this point 
Solved Threads: 0
paramveer paramveer is offline Offline
Newbie Poster

Re: Read XML File in C/C++

 
0
  #9
Jun 30th, 2006
Hello Everybody....
But what about the way ...how to do it....googgle gives results for xml parsers etc....please tell me how to proceed by maybe giving some points....
Thanks
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 8
Reputation: paramveer is an unknown quantity at this point 
Solved Threads: 0
paramveer paramveer is offline Offline
Newbie Poster

Re: Read XML File in C/C++

 
0
  #10
Jun 30th, 2006
I am totally confused please tell me how to proceed....
Thanks....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC