OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Big XML file

[ Lists Home | Date Index | Thread 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.
 
--Srinivas

	-----Original Message----- 
	From: Miguel A. Robles 
	Sent: Mon 6/30/2003 4:57 AM 
	To: xml-dev@lists.xml.org 
	Cc: 
	Subject: Re: [xml-dev] Big XML file
	
	

	Dear friends,
	
	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
the content
	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,
	M.A.
	
	
	> > "Miguel A. Robles" wrote:
	> >
	> > Dear colleagues,
	> >
	> > I usually work with XML for sending on information between
different
	> > servers or applications. For example, currently I'm working
with web
	> > services and everithing works fine. The problem appears now,
because I
	> > 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
kind of
	> > files.
	> >
	> > I know that XML is not intended for containing so much
information,
	> > 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
desconocido ***
	>
	
	
	
-----------------------------------------------------------------
	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 list use the subscription
	manager: <http://lists.xml.org/ob/adm.pl>
	
	

<<winmail.dat>>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS