Re: Read and parse large XML-files
- From: hrh1818 <hrhan@xxxxxxx>
- Date: Sun, 24 Feb 2008 17:12:14 -0800 (PST)
On Feb 24, 2:58 pm, Crypto Logic <cry...@xxxxxxxxx> wrote:
Hi,
I am trying to read and parse a large XML-file.
The XML-file represents the data created by a custom laboratory software
that writes measurement data and some setup information into an ASCII-text
file.
So I have tried reading the file - approx. 20MB in size - using readxml to
create the node and example 3 of the Matlab help for xmlread.
Unfortunately, the file is so large that I got java heap errors at first and
had to increase memory area for java. Then what happened was that xmlread
could create the node but the example 3 function to parse the XML file ran
for about half an hour and then also quit displaying an error.
1.) What can I do to read and parse large XML-files?
2.) The example-3-help function for the readxml-command converts an XML file
into a Matlab structure. I have found that at least half of the structure
fields is useless because it creates empty fields. What can I do to improve
the example 3 function to successfully read in XML files?
Thanks for any hint and kind regards,
Crypto.
One suggestion is Google the term "large XML files". I tried this and
the first thing that came up was:
XML.com: Decomposition, Process, Recomposition
In Uche Ogbuji's latest Python and XML column he explores a pattern
for handling very large XML files easily and efficiently. see:
http://www.xml.com/pub/a/2004/07/28/py-xml.html
Howard
.
- References:
- Read and parse large XML-files
- From: Crypto Logic
- Read and parse large XML-files
- Prev by Date: Re: if statement
- Next by Date: newbie in symbolic computation
- Previous by thread: Read and parse large XML-files
- Next by thread: Read and parse large XML-files
- Index(es):
Relevant Pages
|