c.pentasuglia 0 Newbie Poster

Hey all,
I need to get a design going to parse some XML files, in the past i have used XStream to parse files, however it doesn't appear to be working in this case.
Here is a sample of the generated XML i'm trying to parse:
<debugging level="0" />
XStream does not allow me to pull out the attribute, and it will not parse the self closing tag (that i know of).
Does anyone know of a library that will? I have heard things about the SAX library, and also XOM. Essentially XOM is built over SAX, and allow for attributes to be parsed. Will either of them parse the self closing tag properly though?
Any help will be great,
thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.