Results 1 to 5 of 5
Thread: XML with Java
- 08-07-2012, 08:44 PM #1
Senior Member
- Join Date
- Jan 2009
- Location
- NJ, USA
- Posts
- 183
- Rep Power
- 5
XML with Java
Hey,
I've been looking around the internet for the best api to work with xml in java (preferably one included in the jdk, if one exists). I heard SAX was probably my best choice, but when looking for tutorials on using the api I didn't find a whole lot of relavent stuff. I ended up writing my own xml parser at one point (a while ago), but I'd much rather use a standard. I don't know how they work, though. Mine would just load it into memory in a tree structure, and I had methods like addChild(node) and setAttribute(key, value), save it as needed, and things like that. So, any advice you can give, I'd appreciate it.
Thanks,
Andrew
- 08-07-2012, 11:19 PM #2
Senior Member
- Join Date
- Jan 2009
- Location
- NJ, USA
- Posts
- 183
- Rep Power
- 5
Re: XML with Java
Nvm, I found a nice article on DOM.
-
Re: XML with Java
If you need to transform XML into objects and visa-versa, read up on JAXB as that's probably the slickest Java interface with XML.
- 08-08-2012, 05:27 AM #4
Re: XML with Java
Moved from New to Java
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 08-12-2012, 01:20 AM #5
Member
- Join Date
- Feb 2012
- Posts
- 1
- Rep Power
- 0


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks