Re: [xml] Code examples for writing SAX based parser
- From: "Vikrant Rathore" <vikrant linmark com>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] Code examples for writing SAX based parser
- Date: Mon, 16 Feb 2004 19:03:02 +0800
Hi Daniel,
Thanks for the advice. I wanted to use SAX interface since we are
expecting large documents with a simple schema. The size we are
expecting can be around 50 MB. We had a problem in our server previously
when we used a DOM based parser. So that's the reason wanted to use a
SAX based parser.
But its fine I will first try working on xmlReader and then switch over to SAX.
Thanks
Vikrant
On 16 Feb 2004 at 5:49, Daniel Veillard wrote:
On Mon, Feb 16, 2004 at 06:30:43PM +0800, Vikrant Rathore wrote:
Hi Everyone,
If anyone has written a simple SAX based parser please can you send
some reference or code examples. I am new to XML and using Dev-cpp
with mingw and libxml as my development environment for one in house
projects. I could not get any code sample for SAX based parser
except a small tutorial without a complete code.
I don't suggest newbies use SAX. Use the xmlReader interface, there
are examples at http://xmlsoft.org/examples/index.html . I don't want
to promote SAX use as it is more complex. If you know your stuff then
the code of testSAX.c in the source archive should be good enough.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/ _______________________________________________
xml mailing list, project page http://xmlsoft.org/ xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]