PUG XML parser

O

owebeeone

anyone used the PUG XML parser?

http://trac.zeitherrschaft.org/zzub/browser/trunk/src/plugins/lunar/p...

Is it an easy XML parser to use?

definitely OT.

Austria C++ wraps the libxml2 parser.

here is the Austria C++ test case ...
http://austria.svn.sourceforge.net/viewvc/austria/src/austria/test/tst_xml_parser.cpp?view=markup

This is how to parse memory:
http://austria.svn.sourceforge.net/...ria/test/tst_xml_parser.cpp?view=markup#l_152

This is how to parse files:
http://austria.svn.sourceforge.net/...ria/test/tst_xml_parser.cpp?view=markup#l_225

... and this is where it's used to set preferences.
http://austria.svn.sourceforge.net/...stria/test/tst_preference_xml.cpp?view=markup

There are other parsers as well. Apache has one, all based on Unicode
UTF-16 which is a pain.

libxml2 is used by lots o people so if it has bugs, it gets fixed
pretty quickly, shame they don't support a C++ api.

O' if you want to use Austria, use the subversion version.
 
R

Roland Pibinger

anyone used the PUG XML parser?
http://trac.zeitherrschaft.org/zzub/browser/trunk/src/plugins/lunar/pugxml.h?rev=1561
Is it an easy XML parser to use?
any tutorial / sample code on how to use it?

PugXML seems to be abandoned by the original author. A description can
be found here: http://www.codeproject.com/KB/cpp/pugxml.aspx . Some
users have produced versions with bugfixes as mentioned in the
comments to the above article (e.g.
http://www.getsoft.com/padinfo/pugxml.zip).
TinyXML is an alternative 'lightweight' XML parser.
 
E

Eric Kaplan

What's the different between more popular XML parser like MSXML and
this less known PUGXML parser?

I heard PUGXML is more low level and run more faster?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top