XML parsing huge file
Hi,
I have a 36M XML file i need to parse, I'm new to XML.
I usually get a 200K file in CSV format from most of my client that they transfer into there account i then simply update the MSSQL database with the CSV file at midnight on my server. But now i have 74 clients that are regroup and they send me 1 XML file.
When i run it using the sample they gave me it works fine but on the 36M file i get a Jrun error then i found out that :
<CFFile action="READ" variable="xmlfile" file="c:\mypath\#clientfile#.xml" charset="utf-8">
<cfset xmlObj = xmlParse(#xmlfile#)>
Doesnt work on big files because it runs out of memory.
I need a way to parse that file using Java i downloaded xmlsax.js but i dont know how to use it to parse then get my parsed var back from it can anyone help me please.
I got the file here : http://xmljs.sourceforge.net/website/sampleApplications-sax.html
Thank you
