473,324 Members | 2,473 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,324 software developers and data experts.

PUG XML parser

anyone used the PUG XML parser?

http://trac.zeitherrschaft.org/zzub/...xml.h?rev=1561

Is it an easy XML parser to use?

any tutorial / sample code on how to use it?
Mar 14 '08 #1
3 3289
On Mar 14, 5:52*pm, Eric Kaplan <tobycraf...@yahoo.comwrote:
anyone used the PUG XML parser?

http://trac.zeitherrschaft.org/zzub/...lugins/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/v...pp?view=markup

This is how to parse memory:
http://austria.svn.sourceforge.net/v...w=markup#l_152

This is how to parse files:
http://austria.svn.sourceforge.net/v...w=markup#l_225

... and this is where it's used to set preferences.
http://austria.svn.sourceforge.net/v...pp?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.

Mar 14 '08 #2
On Thu, 13 Mar 2008 22:52:01 -0800, Eric Kaplan wrote:
>anyone used the PUG XML parser?
http://trac.zeitherrschaft.org/zzub/...xml.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.
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch
Mar 14 '08 #3
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?

On Fri, 14 Mar 2008 21:00:12 GMT, rp*****@yahoo.com (Roland Pibinger)
wrote:
>On Thu, 13 Mar 2008 22:52:01 -0800, Eric Kaplan wrote:
>>anyone used the PUG XML parser?
http://trac.zeitherrschaft.org/zzub/...xml.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.
Mar 14 '08 #4

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

Similar topics

13
by: Paulo Pinto | last post by:
Hi, does anyone know of a Python package that is able to load XML like the XML::Simple Perl package does? For those that don't know it, this package maps the XML file to a dictionary.
11
by: Jean de Largentaye | last post by:
Hi, I need to parse a subset of C (a header file), and generate some unit tests for the functions listed in it. I thus need to parse the code, then rewrite function calls with wrong parameters....
1
by: Karalius, Joseph | last post by:
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c...
3
by: Himanshu Garg | last post by:
Hello, I am trying to pinpoint an apparent bug in HTML::Parser. The encoding of the text seems to change incorrectly if the locale isn't set properly. However Parser.pm in the directory...
2
by: Joel Hedlund | last post by:
Hi! I have a possibly dumb question about imports. I've written two python modules: parser.py ------------------------------------ class Parser(object): "my parser"...
5
by: thewarden | last post by:
I've come into a situation where I require to have BBCode parsed, this includes the standard tags supported by PEAR package HTML_BBCodeParser and custom BBCode tags I've added myself. My problem...
28
by: Marc Gravell | last post by:
In Linq, you can apparently get a meaningful body from and expression's .ToString(); random question - does anybody know if linq also includes a parser? It just seemed it might be a handy way to...
0
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): ...
18
by: Just Another Victim of the Ambient Morality | last post by:
Is pyparsing really a recursive descent parser? I ask this because there are grammars it can't parse that my recursive descent parser would parse, should I have written one. For instance: ...
0
by: arvindkgs | last post by:
Iam using c lexer that is flex generated and a c++ parser that is bison generated. i have modified the parser to acccept only string input. I am calling the parser function yyparse in a loop and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.