Supposed I have the following string:
string str = \"text\";
And I would like to change \'tag\' to \'newTag\' so the
string str = "text"; string newValue = new XElement("newTag", XElement.Parse(str).Value).ToString();