Re: XML parser and writer



Brandon McCombs wrote:
I'm writing a program to help people track various items and placing them on a calendar. These items are mainly ones that reoccur (monthly bills for example). Each item (or task) has various properties that are set for it and I was thinking of storing all the data in an XML file. I'd parse the file and have the data available throughout the execution of the program. Updates to the file would occur when someone edits a task to change its re-occurrence frequency, etc. Therefore I will need to both easily parse and write new XML files. I don't have a DTD or schema developed and I may later so any API I use will have to work w/o that for now. Can anyone suggest a simple API for parsing/writing my own made-up XML files? I've ruled out SAX since it only parses and was thinking of using DOM but I don't know if that will work because I've never did any programming with XML before.

Either database or one XML file per something. One huge XML file
will not work for updates.

If you go for XML then W3C DOM or an even higher level API would
be best.

Arne
.



Relevant Pages

  • Re: XML parser and writer
    ... easily parse and write new XML files. ... developed and I may later so any API I use will have to work w/o that for ... Can anyone suggest a simple API for parsing/writing my own made-up ...
    (comp.lang.java.programmer)
  • Re: XML parser and writer
    ... I'd parse the file and have the data available throughout the execution of the program. ... I don't have a DTD or schema developed and I may later so any API I use will have to work w/o that for now. ... Can anyone suggest a simple API for parsing/writing my own made-up XML files? ... I mentioned this issue to a guy at work and he mentioned JAXB so I'll be looking into that. ...
    (comp.lang.java.programmer)
  • Re: XML parser and writer
    ... Therefore I will need to both easily parse ... later so any API I use will have to work w/o that for now. ... suggest a simple API for parsing/writing my own made-up XML files? ...
    (comp.lang.java.programmer)
  • XML parser and writer
    ... I'd parse the file and have the data available throughout the execution of the program. ... I don't have a DTD or schema developed and I may later so any API I use will have to work w/o that for now. ... Can anyone suggest a simple API for parsing/writing my own made-up XML files? ...
    (comp.lang.java.programmer)
  • Re: XML parser and writer
    ... I'd parse the file and have the data available throughout the execution ... to both easily parse and write new XML files. ... I've ruled out SAX since it only parses and was ... I prefer DOM parsing. ...
    (comp.lang.java.programmer)