OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: We need an XPath API

3/5/01 12:37:11 PM, Christian Nentwich <c.nentwich@cs.ucl.ac.uk> wrote:

>> > 5) Work on DOM trees as well as with a SAX parser (DOM tree query support 
>> > essential in my opinion.. SAX alone is no good. What if your dom tree 
>> > out of a database?)
>> requires a well-formedness parse as the first step in processing at each 
>> and a stream of SAX events is the simplest, lightest, and most neutral
>> expression of that parse. In fact, as a matter of local process 
>> those SAX events themselves may be routed through layered filters without 
>To be honest, I'm a bit confused. Could you elaborate how this would
>help anyone who doesn't actually have the DOM tree represented as an XML
>file but gets it out of some data source ? I haven't been following the
>abstraction debate that much..

It's always possible to traverse a DOM and generate SAX events from it (though 
it may not be possible to generate the sort of events a LexicalHandler is