xslt用来将xml转换成不同格式,例如xml,html或者wml,下面文章我们介绍如何使用c# xslt将xml转换成html格式。 System.Xml System.Xml.XPath System.Xml.Xsl XPathDocument myXPathDoc = new XPathDocument(<xml file path>) ; XslTransform myXslTrans = new XslTransform() ; myXslTrans.Load(<xsl file path>); |
|
来自: 昵称10504424 > 《工作》