I am struggling to extract the attribute value from an XML file. in short I am looking to convert the xml output below into a csv file