Lists Home |
Date Index |
Thats a classic trade-off of resource-usage/performance vs convenience.
If you find DOM to be a more convenient API to use than SAX, you might
want to consider persistent DOM implementations that provide a caching
mechanisms for managing resource usage while providing a DOM interface
for manipulating the document. Ipedo (www.ipedo.com) implements one, as
does Infonyte http://www.infonyte.com/en/index.html
<http://xml.darmstadt.gmd.de/xql/index.html> . There might also be some
open source implementations.
From: Miguel A. Robles
Sent: Mon 6/30/2003 4:57 AM
Subject: Re: [xml-dev] Big XML file
Many thanks for your help. Now, I know I can manage large XML
files with SAX
and it works fine. The problem now exists when I need to update
of an element or any of its attributes. I'm not sure, but I
think that SAX
cannot be used for that purpose.
Can you confirm me this topic?
Which is the best way to fix this problem?
Thanks again and best regards,
> > "Miguel A. Robles" wrote:
> > Dear colleagues,
> > I usually work with XML for sending on information between
> > servers or applications. For example, currently I'm working
> > services and everithing works fine. The problem appears now,
> > have to parse a document containing a lot of information.
DOM is not
> > enough to accomplish the object because the document
> > is extremly large, and I don't know how SAX deals with this
> > files.
> > I know that XML is not intended for containing so much
> > but I have to think about a possible solution.
> > What do you think I could act to fix the problem?
> > Thanks a lot.
> > Regards,
> > M. A.
> *** Este fichero ha sido revisado en busca de virus ***
> *** IMPORTANTE: Nunca abra un anexo de un remitente
The xml-dev list is sponsored by XML.org <http://www.xml.org>,
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 list use the subscription