SAP interview question

Create a function to parse a XML file