Hi everyone, my first post here. So go easy!
I've started making an application and my overall plan is to exchange data between objects and methods with short XML strings. However, I'd like to write a few simple, generic reusable XML methods like:
getRootTag, getTagContents, etc. That I can reuse constantly throughout my project, so obviously I need to write a class and these methods. However I'm pretty much stuck understanding whether I need to use DOM or SAX. An example of what I'd like to do is:
- Send an HTTP Request by storing all the parameters in an XML string, passing the string to my HTTP class where it parses the XML, constructs an HTTP request and sends it.
Any ideas guys? Sorry if this seems a bit jumbled, if you need me to clarify, please let me know!