Ok.
I've looked at expat, libxml, ...
Too much baggage!
I would like to find a small XML walker/"parser"/reader that simply
gives me callbacks (C++ or C). No validation needed or wanted.
I would prefer some open sourced, portable thing (Linux, OS/X, Windows,
POSIX), with at most a couple of files and with no external
dependencies. Anything beyond that, and I'm going to write my own.
I'm trying to make a small tool with as few external dependencies as
possible.
One of my gripes about a lot of open source stuff these days (I must be
getting crochety :-) is the creep of dependencies. Oh, you want to use
A, well you also need to get B, C and D, but B also needs E and F, ...
Thanks! 5 2492 rp******@gmail. com wrote: Ok. I've looked at expat, libxml, ... Too much baggage!
I would like to find a small XML walker/"parser"/reader that simply
<snip off topic rant>
Your question is off-topic here (in c.l.c).
If it wasn't: GYIF.
--
BR, Vladimir
You can fool some of the people all of the time,
and all of the people some of the time,
but you can make a fool of yourself anytime.
On 6 Mar 2006 10:29:19 -0800, rp******@gmail. com wrote: I would like to find a small XML walker/"parser"/reader that simply gives me callbacks (C++ or C). No validation needed or wanted.
Don't know what you mean exactly (SAX-like or DOM-like?) but maybe
TinyXml ( http://www.grinninglizard.com/tinyxml/ ) is the right thing
for you.
Best wishes,
Roland Pibinger rp******@gmail. com wrote: Ok. I've looked at expat, libxml, ... Too much baggage!
I would like to find a small XML walker/"parser"/reader that simply gives me callbacks (C++ or C). No validation needed or wanted. I would prefer some open sourced, portable thing (Linux, OS/X, Windows, POSIX), with at most a couple of files and with no external dependencies. Anything beyond that, and I'm going to write my own. I'm trying to make a small tool with as few external dependencies as possible.
I've started using XiMoL, it's not event based, it's based around
streams. I've created a patch which makes it compile with VC8 (a bug in
VC8).
Ben Pope
--
I'm not just a number. To many, I'm known as a string... rp******@gmail. com writes: Ok. I've looked at expat, libxml, ... Too much baggage!
I would like to find a small XML walker/"parser"/reader that simply gives me callbacks (C++ or C). No validation needed or wanted. I would prefer some open sourced, portable thing (Linux, OS/X, Windows, POSIX), with at most a couple of files and with no external dependencies. Anything beyond that, and I'm going to write my own. I'm trying to make a small tool with as few external dependencies as possible.
Here is a basic one: http://sourceforge.net/projects/yaxp
It needs some POSIX libs, so I am not sure about its portability to
windows. I successfuly used it on Solaris (with Forte 6.2 and gcc), and on
Linux. If you need something that it doesn't know, then please let me know
about it.
ImRe This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave Brueck |
last post by:
Below is some information I collected from a *small* project in which I wrote
a Python version of a Java application. I share this info only as a data
point (rather than trying to say this data "proves" something) to consider
the next time the "Python makes developers more productive" thread starts up
again.
Background
==========
An employee who left our company had written a log processor we use to read
records from text files (1...
|
by: Simon Harvey |
last post by:
Whato chaps,
I work (or am hoping to work! :) for a company that specialises in the
following:
- Localisation of media - including software, manuals, literature and
training material.
- Creating training material themselves in many langauges built to order.
The main thing I'm thinking about for the company is maybe a sort of content
|
by: Randall Parker |
last post by:
Using IE 6.x (whatever is the latest) on Windows 2000.
For these two CSS definitions if I remove the 2 lines that have the
"mso-" font family definitions (mso-fareast-font-family, and
mso-bidi-font-family) then the "SmallerText" assigned as a class to a
div tag produces larger text than the "SmallerText2". So x-small is
treated as a bigger font size than plain old small.
How the heck is one supposed to know all the MS stuff one needs...
|
by: mamo74 |
last post by:
Hello.
I am administering a SQL Server (Enterprise Edition on Windows 2003)
from some month and can't understand what is going on in the latest
week (when the db grow a lot).
The DB is around 250G, and has one table with 1 billion rows. It is
performing in a decent way, but can't understand why a particolar table
has strong performance problem.
|
by: Lauren Wilson |
last post by:
Hi folks,
Just wondered if, for the sake of clarity, it is permissible to post
small image files of an error box along with a text message about a
problem with Access?
| |
by: Tomás |
last post by:
Let's say we have a function that returns the result of subtracting seven
from a given number. Would you write it as:
(A)
int SubtractSeven( int const x )
{
return x - 7;
}
|
by: Student |
last post by:
Hi All,
I have an assignment for my Programming language project to create a
compiler that takes a C++ file as input and translate it into the C
file. Here I have to take care of inheritance and operator overloading
and virtual functions. I mean it should not hamper the C++ meaning. In
frank and simple terms i need to implement a small C++ compiler in C++,
and i want the intermediate representation to be C. Please help me in
this....
|
by: Mike S |
last post by:
Hi all,
I noticed a very slight logic error in the solution to K&R Exercise
1-22 on the the CLC-Wiki, located at
http://www.clc-wiki.net/wiki/KR2_Exercise_1-22
The exercise reads as follows:
"Write a program to 'fold' long input lines into two or more shorter
|
by: Alan Silver |
last post by:
Hello,
MSDN (amongst other places) is full of helpful advice on ways to do data
access, but they all seem geared to wards enterprise applications. Maybe
I'm in a minority, but I don't have those sorts of clients. Mine are all
small businesses whose sites will never reach those sorts of scales. I
deal with businesses whose sites get maybe a few hundred visitors per
day (some not even that much) and get no more than ten orders per day....
|
by: JohnQ |
last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post).
It would be more than a little bit nice if C++ was much "cleaner" (less
complex) so that it wasn't a major world wide untaking to create a toolchain
for it. Way back when, there used to be something called "Small C". I wonder
if the creator(s) of that would want to embark on creating a nice little
Small C++ compiler devoid of C++ language features that make...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| | |