473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

C/C++ code to parse XML file


I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.

Any help would be appreciated
Thanks
-- pacman

Jan 23 '06 #1
8 19990
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.


Try comp.sources.wanted. Or check out the Boost.Serialization library.

Luke

Jan 23 '06 #2
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.

Spend a day and write a simple parser, it's not hard and you'll learn by
doing it.

--
Ian Collins.
Jan 23 '06 #3
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.

Any help would be appreciated
Thanks
-- pacman


Apache org has one:

http://xml.apache.org/xerces-c/

Larry
Jan 23 '06 #4
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.


check out libxml2
Jan 23 '06 #5
Gianni Mariani wrote:
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.


check out libxml2

Or libxml++ if you are using C++ ;)
http://libxmlplusplus.sourceforge.net/

Jan 23 '06 #6
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.

Any help would be appreciated
Thanks
-- pacman

How about this:

http://upp.sourceforge.net/reference$XML.html
http://upp.sourceforge.net/reference$Xmlize.html

Mirek
Jan 23 '06 #7
pa********@yahoo.com wrote:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.


Google for TinyXML (it's hosted on SourceForge.net too).

Cheers
--
Mateusz Łoskot
http://mateusz.loskot.net
Jan 23 '06 #8
pa********@yahoo.com said the following on 23/01/2006 0:56:
I am looking for C/C++ code to parse a XML file. Most of the stuff I
see on the web involves .NET or managed C++ code.

Any help would be appreciated
Thanks
-- pacman

google -> XiMoL
Jan 23 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: srijit | last post by:
Hello, Here is an example code of xml writer in Python+PythonNet, Ironpython and Boo. The codes look very similar. Regards, Srijit Python + PythonNet: import CLR
3
by: Kaidi | last post by:
Hello guys, I get the "an invalid XML character" error when using xerces to parse a XML file. I know that XML will correspond the &, <, >, " to special strings like "&gt;&lt;". However, how about if the...
17
by: wana | last post by:
I was reading through original source code of ping for some insight and was confused by unusual code. Entire listing available at: http://www.ping127001.com/pingpage/ping.html #include...
2
by: Robert Fischbacher | last post by:
Hello, does anybody know if there is a existing tool that can convert valid C# Code to a XML structure? I tried to parse a C# program to analyze the structure of the existing program code, but...
4
by: fyleow | last post by:
I create a new Python file with the following using Wing IDE. import feedparser d = feedparser.parse("http://feedparser.org/docs/examples/atom10.xml") print d.feed.title I get this error when...
2
by: Bart Van der Donck | last post by:
Hello, I'm posting the software for one-FAQ-a-day as described on http://tinyurl.com/qcxw7 (comp.lang.javascript, July 18 2006, titled "CLJ newsgroup FAQ) and on http://tinyurl.com/ppt2s...
25
by: Jon Slaughter | last post by:
I have some code that loads up some php/html files and does a few things to them and ultimately returns an html file with some php code in it. I then pass that file onto the user by using echo. Of...
18
by: Steven Borrelli | last post by:
Hello, I am using the <?php include() ?statement on my website for organizational purposes. However, one of my includes contains some PHP code. Is there any way for the server to actually...
8
by: SaltyBoat | last post by:
Needing to import and parse data from a large PDF file into an Access 2002 table: I start by converted the PDF file to a html file. Then I read this html text file, line by line, into a table...
19
by: fx5900 | last post by:
Hi, i am trying to convert an .osm (openstreetmap) file into gml format and finally to shapefile given this wiki info http://wiki.openstreetmap.org/index.php/GML. I'm using windows and when i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.