xslt用來將xml轉(zhuǎn)換成不同格式,例如xml,html或者wml,下面文章我們介紹如何使用c# xslt將xml轉(zhuǎn)換成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>);