Re: [xml] Making SAX more useful...
- From: Thomas Broyer <tbroyer ltgt net>
- To: xml gnome org
- Subject: Re: [xml] Making SAX more useful...
- Date: Wed, 16 May 2001 15:39:55 +0200
Le 16/05/01 14:19:26, Matt Sergeant a écrit :
At the moment the SAX parser really has second place to the DOM parser
(at least that's my gut feeling),
It's also mine.
Is there a plan to make it a more "first class" interface? At the moment
it's requires a fair amount of custom code to implement parsing
reasonably complex documents.
It shouldn't be much difficult to built a SAX-like interface on top of the
current, expat-like one.
This is just a matter of saving entities, namespace scope, etc in a
context.
In other words, a SAX-like interface would only be a sort of "filter" on
top of the current API.
I thought about implementing that sort of thing when you said in an earlier
message libxml is based on expat, not on SAX, but I have other priorities
for the moment...
Maybe I'll try to do that quick, maybe not...
Tom.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]