Going in the direction of simplicity I use TinyXML
http://www.grinninglizard.com/tinyxml/
Minimal, but works very well, if you don't need to do too much.
Ciao!
mario
Ümit Uzun wrote:
Hi All,
>>You forgot to mention Expat, it's light and easy to use, personnaly
it's my favorite XML parser.
Actually I didn't forget expat' I used a bit and don't like very as much
as you :)
>>The first thing you probably need to do is to decide if you want a
validating parser or not.
No I don't need validation for xml format. I only save and read required
data and a bit much of them.
>>I use libxml2 , i dont use c++ stuff on top of xml. I use only
std::map<std::string, std::string> for node properties and xpath to find
nodes in xml tree.
That is another good operation. It may helps.
>>I use libxml2 in Present3D and it works nicely and it really straight
forward to use.
Himmm, I forgot Present3D :) I used and loved it very much. It's good
starting point. Robert can I ask another question' if you need xml
library to use in OSG releases in the future do you prefer libxml2 again?
Thanks folks.
2008/12/4 Farrier, John E CTR USAF AFMC ASC/XRA
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
I have used Xerces-C and found it to work very well, but be quite
bulky (as it is a "validating" XML parser). I ended up going with
another open source project (ezxml) because it was much smaller,
though didn't offer any XML validation. The first thing you
probably need to do is to decide if you want a validating parser or
not. That will help guide your decision.
- John
-----Original Message-----
From: Ümit Uzun [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>]
Sent: Thursday, December 04, 2008 10:20 AM
To: OpenSceneGraph Users
Subject: [osg-users] xerces C++, cmarkup, libxml2 or which xml parser ?
Hi All,
I need a xml parser library which should be powerful and easier for
now and future usability. I have searched mail list and found
following libraries;
1 - http://xmlsoft.org/ LIBXML2
2 - http://www.firstobject.com/ CMARKUP
3 - http://xerces.apache.org/xerces-c/index.html XERCES C++
I am waiting advices who had experience any of these or another library?
Best Regards.
--
Ümit Uzun
_______________________________________________
osg-users mailing list
[email protected]
<mailto:[email protected]>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Ümit Uzun
------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
--
Ing. Mario Valle
Data Analysis Group | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org