parse the xml content