472,805 Members | 1,593 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 19959
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.