[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: applying XPath to a very large document
dom4j (http://dom4j.org) has some support for working with very large documents. What's implemented now allows you to trigger events based on simple paths using only element names (like "/ROWSET/ROW"), and you can use the events to discard portions of the document you know you don't need to keep. The FAQ has an entry describing how to do this. - Dennis April Kwong wrote: > Hi all, > > I want to query a very large XML document (say, 100MB) with XPath. > Is it NOT possible, unless the machine has a big memory to store the > corresponding DOM structure? > > I guess this is a silly question... but I'd really appreciate some help in > confirming > this. > > Thanks, > > april > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this elist use the subscription > manager: <http://lists.xml.org/ob/adm.pl>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|