Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > [Q] A simple C++ parser ?

Reply
Thread Tools

[Q] A simple C++ parser ?

 
 
Juan P. Carrillo
Guest
Posts: n/a
 
      02-19-2004
Hi,

I'm assigned to a project where XML is heavily used in C++ (I came
from a Java background).

Do you know what is the most popular and simple free XML parser for
C++ ? I was browsing the web and there are lots of APIs, but it's hard
to know what is the most straightforward to use without having worked
with them.

Thanks in advance,

- Juan Medín
 
Reply With Quote
 
 
 
 
Xuejun Li \(SH/RDC\)
Guest
Posts: n/a
 
      02-19-2004
Apache Xerces of course.
Free. Complete implementation of the W3C standard.


"Juan P. Carrillo" <> wrote in message
news: m...
> Hi,
>
> I'm assigned to a project where XML is heavily used in C++ (I came
> from a Java background).
>
> Do you know what is the most popular and simple free XML parser for
> C++ ? I was browsing the web and there are lots of APIs, but it's hard
> to know what is the most straightforward to use without having worked
> with them.
>
> Thanks in advance,
>
> - Juan Medín



 
Reply With Quote
 
 
 
 
Roberto Nunnari
Guest
Posts: n/a
 
      02-20-2004
I agree.

There are others, but I find that's the best.
http://xml.apache.org/xerces-c/index.html

The only cases where it doesn't scale well is when your application
runs in environment with limited risources (memory, bandwith, etc)
like embedded, mobiles, applets that need to download the parser, etc.

In thouse cases, if you can live without some of the great features
offered by xerces like validation, then you're better off with
other solutions.

Let me know if you need some links about the latter.

Best regards.


Xuejun Li (SH/RDC) wrote:

> Apache Xerces of course.
> Free. Complete implementation of the W3C standard.
>



--
Roberto Nunnari -software engineer-
private.php?do=newpm&u=
http://www.nunnisoft.ch
Residenza Boschetto 12 tel/fax: +41-91-6046511
6935 Bosco Luganese """ mobile: +41-76-3208561
Switzerland (o o)
========================oOO==(_)==OOo============= ===========

 
Reply With Quote
 
Michael Sweet
Guest
Posts: n/a
 
      02-21-2004
Juan P. Carrillo wrote:
> Hi,
>
> I'm assigned to a project where XML is heavily used in C++ (I came
> from a Java background).
>
> Do you know what is the most popular and simple free XML parser for
> C++ ? I was browsing the web and there are lots of APIs, but it's hard
> to know what is the most straightforward to use without having worked
> with them.


If you don't need validation, you might want to look at my (free)
Mini-XML library:

http://www.easysw.com/~mike/mxml/

Right now it provides a C api (usable with C++).

--
__________________________________________________ ____________________
Michael Sweet, Easy Software Products
Printing Software for UNIX http://www.easysw.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
import parser does not import parser.py in same dir on win Joel Hedlund Python 2 11-11-2006 03:46 PM
import parser does not import parser.py in same dir on win Joel Hedlund Python 0 11-11-2006 11:34 AM
XML Parser VS HTML Parser ZOCOR Java 11 10-05-2004 01:58 PM
XMLparser: Difference between parser.setErrorHandler() vs. parser.setContentHandler() Bernd Oninger Java 0 06-09-2004 01:26 AM
XMLparser: Difference between parser.setErrorHandler() vs. parser.setContentHandler() Bernd Oninger XML 0 06-09-2004 01:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57