[Home] [By Thread] [By Date] [Recent Entries]


ricko@a... (Rick Jelliffe) writes:
>* have the SAX stream kept cached for the lifetime of the document
>(or have some kind of weak reference perhaps) since they are in memory 
>anyway (though unreachable), allowing backward-looking XPaths; or

That's one of the reasons I created MOE, which uses an event stream
whose events can be easily added to each other to build a tree if
desired.

http://moe.sourceforge.net

MOE should be getting a revision later this year, integrating the
Gorille parser tools and a general refactoring.

I agree with you that there are lots of cases where the SAX approach
seems limited; on the other hand, I still do around 50% of my
programming and processing using SAX, so I definitely find it useful.

-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com -- http://monasticxml.org

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member