XPathDocument doc = new XPathDocument(Server.MapPath("tem\\XMLFile1.xml" ));
//创建一个新的转换
XslTransform transForm = new XslTransform();
transForm.Load(Server.MapPath("tem\\XSLTFile1.xsl" ));
//输出
FileStream fs = new FileStream(Server.MapPath(Random_str()),FileMode.Create);
XPathNavigator nav = doc.CreateNavigator();
transForm.Transform(nav,null,fs);
fs.Close();