I have a collection of stories in an XML format. I would like to parse the file and return each story as either hash or Ruby object, so that I can further manipulate the data wi
Maybe a Ruby interface to Pivotal API can be better solution for your task, see https://github.com/jsmestad/pivotal-tracker ... then you can get stories as plain Ruby objects like (from docs):
@a_project = PivotalTracker::Project.find(84739)
@a_project.stories.all(:label => 'overdue', :story_type => ['bug', 'chore'])