You might want to look at the DTM (Document Table Model) in Xalan... it
does violate the interface by being read-only and by not support
getChildList and the like, but it only uses 4 integers per node, can used
semi-incrementally (i.e. you can start processing nodes while the parse is
still occuring on another thread), and the node maps are kept in blocks
that could easily be cached on disk.  It's not really meant to be used
outside of Xalan, is generally tricky to use, and is dependent on the
Xerces parser, but it's interesting to look at in the light of your query.

-scott




                                                                                
                                                 
                    "Peter H. Smith"                                            
                                                 
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>       
                                
                    mouth.org>                         cc:     <[EMAIL 
PROTECTED]>, (bcc: Scott Boag/CAM/Lotus)                 
                                                       Subject:     DOM Lite to 
Complement AElfred?                              
                    02/05/00 04:12 PM                                           
                                                 
                    Please respond to                                           
                                                 
                    xerces-dev                                                  
                                                 
                                                                                
                                                 
                                                                                
                                                 




Has anyone run across a "stripped down" DOM implementation
in the spirit of the AElfred SAX parser?  Maybe something
that intentionally violates the interface by refusing to
report siblings/parents, but is small as a result?
By the way, does someone know the status of AElfred?
The microstar site seems to have gone off the air...

Peter H. Smith







Reply via email to