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] Merge xml documents with SAX

[ Lists Home | Date Index | Thread Index ]
  • To: "Dongling Ding" <dling61@yahoo.com>,<xml-dev@lists.xml.org>
  • Subject: RE: [xml-dev] Merge xml documents with SAX
  • From: "Chris Wilper" <cwilper@cs.cornell.edu>
  • Date: Fri, 21 Nov 2003 13:09:46 -0500
  • Thread-index: AcOwSCC4QXrujFzFRUqwKb9XDkBStgAEHrLw
  • Thread-topic: [xml-dev] Merge xml documents with SAX


You might find http://www.alphaworks.ibm.com/tech/xmldiffmerge
useful.  I'm not sure whether it uses SAX or DOM or a combo though.

Another idea is to abandon DOM and SAX altogether and try a 
pull parser on each of your streams, controlling the merging process 
in a more straightforward way.  

- Chris

-----Original Message-----
From: Dongling Ding [mailto:dling61@yahoo.com]
Sent: Friday, November 21, 2003 10:56 AM
To: xml-dev@lists.xml.org
Subject: [xml-dev] Merge xml documents with SAX


We're dealing with XML documents merge. The size of
docs may be big (> 2 mb). The DOM objects really
consume memory resource here. Is there any to build
one DOM object and use SAX to access another doc, and
perform merge process? Is there anyone trying to use
this kind of approach?

Any light on this?



Do you Yahoo!?
Free Pop-Up Blocker - Get it now

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>


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

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