Re: XML parser and writer
- From: Brandon McCombs <none@xxxxxxxx>
- Date: Wed, 02 Jan 2008 20:05:48 -0500
Jeff Higgins wrote:
Brandon McCombs wrote:Hey guys,
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.
thanks for any pointers
Maybe a Java-XML binding framework?
XStream, Castor, JAXB come to mind.
I mentioned this issue to a guy at work and he mentioned JAXB so I'll be looking into that. I don't know exactly what Java-XML binding does so I'll have to read up on it.
.
- Follow-Ups:
- Re: XML parser and writer
- From: Arne Vajhøj
- Re: XML parser and writer
- References:
- XML parser and writer
- From: Brandon McCombs
- Re: XML parser and writer
- From: Jeff Higgins
- XML parser and writer
- Prev by Date: Re: XML parser and writer
- Next by Date: Re: XML parser and writer
- Previous by thread: Re: XML parser and writer
- Next by thread: Re: XML parser and writer
- Index(es):
Relevant Pages
|