Use the overloads of XslTransform that take an IXPathNavigable object.
Pass in an XPathDocument created from a StringReader.
string myXmlString = "<root><item>something</item></root>";
new XPathDocument(new StringReader(myXmlString));
This approach will work for both the Load() and Transform() methods.
Joshua Flanagan
http://flimflan.com/blog
> in C# how do i transform an xml document with an xsl document when my xml
> document is a string and my xsl document is a string? the msdn examples only
> show how to do it with steams and files. in my case i have everything in
> string