You have to write a class with proper fields. Or - and thats what i recommend - you write a class that contains the values and a Transformer
which "parses" the XML.
However, Simple XML ist not a XML-Parser, it's a Serializer. So you may have a look at e.g. JSoup, a very good HTML / XML Parser.