日期:2014-05-18  浏览次数:20550 次

关于XslTransform
我在使用XslTransform中的load方法时.load("文件路径")没有报方法过时的错.其它的几个好像都有提示:“System.Xml.Xsl.XslTransform.Load(****)”已过时:“You should pass evidence to Load() method” 在XP上能过.但把系统移到server2003上就报错!高手多多帮忙!!

------解决方案--------------------
up-
------解决方案--------------------
参考

C# code

 XslCompiledTransform trans = new XslCompiledTransform();
 trans.Load("books.xsl");
 trans.Transform("books.xml", "out.html");