I have a string which I read in from :
TextReader tr = new StreamReader(this.dataPath );
string contents = tr.ReadToEnd();
The value of co
you probably want to do this:
string styleSheet = "";
string xmlString = "";
TextReader tr = new StreamReader(this.dataPath );
string contents = tr.ReadToEnd();
string result = contents.Replace(xmlString,xmlString + styleSheet );
You're currently not capturing the replace results that you're doing on the last line.