Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Help to Process two very big xml files....

From: "jimmy Zhang" <crackeur@-------.--->
To: NULL
Date: 8/3/2008 6:51:00 PM

You should check out vtd-xml, which is ideally suited for the task you 
described...
http://vtd-xml.sf.net



"fuel" <ajaykumarns@g...> wrote in message 
news:0ced59a0-c563-4493-8091-f0f72848bd89@l......
> Hello,
>       I have two big xml files (around 50-60 MB) each. and I need to
> process the data within each of them. The problem is, I need to
> process each node and compare with the other nodes in the other xml
> file. After iterating through all the nodes, I need to find those
> nodes which have changed or which have been newly introduced.
> Assume the following xml structure,
>
> <?xml version="1.0"?>
> <root>
>    <nodeToProcess>
>
>    </nodeToProcess>
>     .....
> </root>
>
> I have two such xml files. I keep one xml file as the reference and
> compare it with the other. To solve this problem, I thought, I could
> use XPath. However, for now, only DOM based XPath processors are
> there. Since the file is very huge, I dont think I can afford DOM.
> ( Memory constraint )
>
> How can I approach this problem ? what would be the right way to start
> with.
>
> P.S ( I am trying to access these elements through Java)
>
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent