Converting Large XML Files into CSV File via Excel

D

DaleB

Hi:
I have a large XML file (a few hundered MB in size) that I need to import
into Excel and save as a .csv file. Smaller files (< 5 MB) work fine, but as
you approach this limit, you have to break the original XML file into smaller
files, and work on them on at a time. For my current XML file, this would be
broken down into easily > 50 sub XML files. The problems are file size,
memory size, and Excel limits. Do you know of any way that this can be done
other than the "manual grunt method" that I described about ? Any way of
automating a script ? I am not real familar with Excel or any scripting
language like awk, sed, or Perl, so your detailed feedback would be
deeplyappreciated. Thank you...!!!


Update:
So far, I have been able to import an XMLfile ~36 MB in size into Excel.
It just takes time (how long ? I do not know: I let it run overnight).
WARNING: If you try to get a feel how things are going, a dialog box
will state that the application is not responding,...but...if you look at
the processes (via Ctrl-Alt-Del) you will see that Excel is still crunching
on the amount of memory that it is using.

DaleB

Large XML file --> many small XML files --> many small .csv files.
(CSV = comma separated values).
 
J

Jim Rech

I am not real familar with Excel or any scripting language

That's the rub. Any improvements in your process would probably involve
coding. You might have to get help.

But forgetting Excel, have you searched for utilities that convert XML to
text? That's an avenue I might pursue.

--
Jim
| Hi:
| I have a large XML file (a few hundered MB in size) that I need to import
| into Excel and save as a .csv file. Smaller files (< 5 MB) work fine, but
as
| you approach this limit, you have to break the original XML file into
smaller
| files, and work on them on at a time. For my current XML file, this would
be
| broken down into easily > 50 sub XML files. The problems are file size,
| memory size, and Excel limits. Do you know of any way that this can be
done
| other than the "manual grunt method" that I described about ? Any way of
| automating a script ? I am not real familar with Excel or any scripting
| language like awk, sed, or Perl, so your detailed feedback would be
| deeplyappreciated. Thank you...!!!
|
|
| Update:
| So far, I have been able to import an XMLfile ~36 MB in size into Excel.
| It just takes time (how long ? I do not know: I let it run overnight).
| WARNING: If you try to get a feel how things are going, a dialog box
| will state that the application is not responding,...but...if you look at
| the processes (via Ctrl-Alt-Del) you will see that Excel is still
crunching
| on the amount of memory that it is using.
|
| DaleB
|
| Large XML file --> many small XML files --> many small .csv files.
| (CSV = comma separated values).
 
D

DaleB

Thanx...I am looking at that path.

Jim Rech said:
That's the rub. Any improvements in your process would probably involve
coding. You might have to get help.

But forgetting Excel, have you searched for utilities that convert XML to
text? That's an avenue I might pursue.

--
Jim
| Hi:
| I have a large XML file (a few hundered MB in size) that I need to import
| into Excel and save as a .csv file. Smaller files (< 5 MB) work fine, but
as
| you approach this limit, you have to break the original XML file into
smaller
| files, and work on them on at a time. For my current XML file, this would
be
| broken down into easily > 50 sub XML files. The problems are file size,
| memory size, and Excel limits. Do you know of any way that this can be
done
| other than the "manual grunt method" that I described about ? Any way of
| automating a script ? I am not real familar with Excel or any scripting
| language like awk, sed, or Perl, so your detailed feedback would be
| deeplyappreciated. Thank you...!!!
|
|
| Update:
| So far, I have been able to import an XMLfile ~36 MB in size into Excel.
| It just takes time (how long ? I do not know: I let it run overnight).
| WARNING: If you try to get a feel how things are going, a dialog box
| will state that the application is not responding,...but...if you look at
| the processes (via Ctrl-Alt-Del) you will see that Excel is still
crunching
| on the amount of memory that it is using.
|
| DaleB
|
| Large XML file --> many small XML files --> many small .csv files.
| (CSV = comma separated values).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top