473,394 Members | 1,740 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,394 software developers and data experts.

standalone xml library?

Does anyone know of a stand alone library that will parse xml?
Something that doesn't require an external parser to do its stuff? So
far they all want expat, xerces, or something. I need the resulting
program to be totaly cohesive and not dependant on extra shit.

Jul 23 '05 #1
6 1601
Noah Roberts wrote:
Does anyone know of a stand alone library that will parse xml?
Something that doesn't require an external parser to do its stuff? So
far they all want expat, xerces, or something. I need the resulting
program to be totaly cohesive and not dependant on extra shit.


Why don't you write such an entity yourself? Then there would be one.

You might want to leverage this prior work:

http://xml.apache.org/xerces-c/
Jul 23 '05 #2
Noah Roberts a écrit :
Does anyone know of a stand alone library that will parse xml?
Something that doesn't require an external parser to do its stuff? So
far they all want expat, xerces, or something. I need the resulting
program to be totaly cohesive and not dependant on extra shit.


libraries depending on expat are very good because they
handle MBCS and UNICODE so they can work on Win 98/2000/XP and Windows CE.
Personnaly I am currently using a xml parser from an opensource project
called TinyCad.

Some links :

http://www.xml.com/pub/rg/XML_Parsers
http://www.fxtech.com/xmlio/README.txt
Jul 23 '05 #3

Jeff Schwab wrote:
Noah Roberts wrote:
Does anyone know of a stand alone library that will parse xml?
Something that doesn't require an external parser to do its stuff? So far they all want expat, xerces, or something. I need the resulting program to be totaly cohesive and not dependant on extra shit.
Why don't you write such an entity yourself? Then there would be

one.
You might want to leverage this prior work:

http://xml.apache.org/xerces-c/


Yeah, I decided not to be lazy anymore and just go ahead and write
something to parse an ini like file structure. Shouldn't be very hard
and isn't overkill for the situation like XML pretty much is. I have
to write it twice (C++ and PHP), but whatever...once I got one figured
out the other will be a breeze.

Jul 23 '05 #4
"Noah Roberts" <nr******@stmartin.edu> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Jeff Schwab wrote:
Noah Roberts wrote:
> Does anyone know of a stand alone library that will parse xml?
> Something that doesn't require an external parser to do its stuff?
.... Why don't you write such an entity yourself?
.... Yeah, I decided not to be lazy anymore and just go ahead and write
something to parse an ini like file structure. Shouldn't be very hard
and isn't overkill for the situation like XML pretty much is. I have
to write it twice (C++ and PHP), but whatever...once I got one figured
out the other will be a breeze.


Don't reinvent the wheel - you're not the only one who finds XML
to be "too much".
You probably should check: http://www.json.org
And maybe take a look at this web page:
http://ivan.vecerina.com/code/datatree

I hope this helps,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form


Jul 23 '05 #5
Noah Roberts wrote:
Does anyone know of a stand alone library that will parse xml?
Something that doesn't require an external parser to do its stuff? So
far they all want expat, xerces, or something. I need the resulting
program to be totaly cohesive and not dependant on extra shit.


The extra shit is what makes XML useful.

(Otherwise, look at YAML, which also does not have a native C++
implementation.)

The extra shit is XPath, XSLT, schemas, locales, etc.

I find the easiest XML library to grab, for MS Windows, is #import
<msxml4.dll>, but that's because I personally find the _bstr_t and
_variant_t wrappers on COM objects easier than relying on expat or xerces.
That's just me.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 23 '05 #6
TinyXML might be an option. It is a light weight C++ XML parser.

Deepa
--
http://www.EventHelix.com/EventStudio
EventStudio 2.5 - Generate Sequence Diagrams from plain text input

Jul 23 '05 #7

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

Similar topics

9
by: Dan Williams | last post by:
Hi people I'm getting a little annoyed with the way the print function always adds a space character between print statements unless there has been a new line. The manual mentions that "In some...
3
by: Bob | last post by:
Hi! I need a standalone javascript engine so that I can run the javascript statements directly from the command line(just like the interpreted languages) without using any internet environment....
7
by: Richard Hayden | last post by:
Hi, I've just upgraded my gcc and I'm currently trying to compile some code for my own operating system kernel, but I am getting an error of "Undefined reference to `memcpy`" when I try to link...
2
by: hermes_917 | last post by:
I've been searching in vain for an example implementation of the sscanf() fumction. Are there any open-source examples out there? I could extract one from a C library if need be, but I'd perfer a...
4
by: julian | last post by:
I'm getting "'HttpContext' does not exist in the class or namespace 'System.Web'" from trying to build (with Microsoft Development Environment 2003, ver. 7.1.3088, .NET Framework 1.1, ver....
5
by: aladdin | last post by:
Hi, all. I'm trying to write a mutlithreading server with standalone PHP. Concurrent requests is possible. Normally it is done by handling each socket spawn by serversocket in separate threads....
11
by: beginner | last post by:
Hi Everyone, I am looking for a way to allow a standalone python process to easily interactive with a few web pages. It has to be able to easily receive requests from the web and post data to...
7
by: dspfun | last post by:
How do you create a standalone C program? With standalone C program I mean it should run "freestanding" on a CPU without an OS or other supporting software/libraries linked to the C program. After...
4
by: Ted Lyngmo | last post by:
Hi! I'm new (but please do continue reading) to C++ in the VS environment and wanted to create a standalone program (or preferably, a static library, compatible with other Windows compilers)...
5
by: Erik Hahn | last post by:
I'm looking for a standalone Javascript interpreter like the ones of Perl and Python. Does such a thing exist for Linux? Thanks in advance. -Erik --...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.