XMLParserReadBmn

How to create an xml parser that reads the bpmn file and gets all the tasks that are in a process?