XslTransform如何加载一个xml字符串
string str= " <xsl:stylesheet........... ";
XslTransform xslt = new XslTransform();
如何将str加载到xslt中间呢?
------解决方案--------------------MemoryStream ms = new MemoryStream(System.Text.Encoding.Default.GetBytes(str));
XmlReader reader = new XmlTextReader(ms);
xslTransform.Load(reader);