how to format xml string with an xsl stylesheet
I want to transform that string somewhow using my xsl document listed below and attach it to the body of an email. I was trying to use the code below but the xmldocument load does not take a string. How can i go about accomplishing this.
XmlDocument docXml = new XmlDocument();
docXml.Load(sb.ToString());
XslCompiledTransform docXsl = new XslCompiledTransform();
docXsl.Load("xslFormats.xsl");
Thanks!

