I\'ve been trying to do the following for a while now. In the first approach I read in the following XML and that went perfectly with this class.