SimpleXML like XML reader