Remove ../ in path while processing the xml files and populate exact path

Change-Id: I64010ad388535af18f8e5ed19aced9feca516a8b