Thank you. That sure worked.
For reference, here is the snippet that did it:
//using a different overload that returns an XmlReader.
XmlReader reader = xslt.Transform(Server.MapPath("Source.xml"), null,
new System.Xml.XmlUrlResolver());
reader.MoveToContent();
string resultXmlString = reader.ReadOuterXml();
//now use that string to construct my object
MyCustomControl mc =new MyCustomControl(resultXmlString);
There is still the issue of doing this the Whidbey way. The XslTransform is now obsolete and replaced by the XslCompiledTransform, which, however only has overloads that return void. It is supposed to be much more efficient.
So how do we do this in v2.0?
TIA
Rob
Regards,
Rob