[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] applying XPath to a very large document
- From: Dennis Sosnoski <dms@sosnoski.com>
- To: April Kwong <apkwong@hotmail.com>
- Date: Thu, 11 Oct 2001 21:07:40 -0700
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>