Getting the pid in comment

Adding a function after getting the xml file, which convert to string,
uncomment all the pid markups and reconvert to xml