var strreader = new StringReader(str);
var xmlreader = XmlReader.Create(strreader);