•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 370,605 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,030 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
Views: 12825 | Replies: 20
![]() |
•
•
Join Date: Jun 2006
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,104
Reputation:
Rep Power: 34
Solved Threads: 806
•
•
Join Date: Jun 2006
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
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.....
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.....
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,104
Reputation:
Rep Power: 34
Solved Threads: 806
>>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.
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 5:50 am.
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,104
Reputation:
Rep Power: 34
Solved Threads: 806
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
And here are some others about Excel Automation
Last edited by Ancient Dragon : Jun 30th, 2006 at 5:47 am.
•
•
Join Date: Jun 2005
Location: Tokyo, Japan
Posts: 1,480
Reputation:
Rep Power: 8
Solved Threads: 98
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,104
Reputation:
Rep Power: 34
Solved Threads: 806
•
•
•
•
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:
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 10,104
Reputation:
Rep Power: 34
Solved Threads: 806
I think Boost Libraries has some xml parsing functions that might help
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
- Read and parse and xml file from an ftp server (PHP)
- problem reading xml file in c# (C#)
- Pass XML file contents to a hash table. (Java)
Other Threads in the C++ Forum
- Previous Thread: adding all the subtotals
- Next Thread: Create modify insert del read from excel file



Linear Mode