Using sax-reader to read complex XML files