Re: [xml-dev] Does SAX make sense?

From
Miles Sabin <>
To
Date
2003-04-21T06:02:02Z
ID
<>
Thread
Re: [xml-dev] Does SAX make sense?
Jeff Rafter wrote,
> XPath comes up here and came up in several of the other responses.
> Perhaps someone could answer what class of XPaths, if known prior to
> document parse, can not be satisfied during the document parsing?

Often it's not so much the class of XPaths that can be matched during a 
forward parse with no (or limited) state that cause trouble. Often it's 
what you want to do with the matches when you've got them. For example, 
if you need to generate output from the matches in some sorted order, 
then no amount of cleverness on the input side is going to allow you to 
do without preserving all matches until the arrival of the last.

Cheers,


Miles