R
Robert Karlsson
Hello,
I am in need to store data in files. I've
selected XML for this.
Basically the information will be stored in
the following way:
<stock>
<name></name>
<high></high>
<low></low>
..
<date></date>
</stock>
...
...
Due to the large amount of information
I am also concidering som kind of compression,
maybe using zip.
Basic functionality will be to write new entries,
change existing entries and search for specific entires.
However, I have noticed that there are
different APIs that I can use (SAX, DOM, JDOM).
I have done some work with SAX before but have
heard that DOM might be a better choice. What are
the pros and cons for each API?
Any help is appreciated.
Cheers,
Robert
I am in need to store data in files. I've
selected XML for this.
Basically the information will be stored in
the following way:
<stock>
<name></name>
<high></high>
<low></low>
..
<date></date>
</stock>
...
...
Due to the large amount of information
I am also concidering som kind of compression,
maybe using zip.
Basic functionality will be to write new entries,
change existing entries and search for specific entires.
However, I have noticed that there are
different APIs that I can use (SAX, DOM, JDOM).
I have done some work with SAX before but have
heard that DOM might be a better choice. What are
the pros and cons for each API?
Any help is appreciated.
Cheers,
Robert