Created
April 2, 2014 08:38
-
-
Save lmatt-bit/9930262 to your computer and use it in GitHub Desktop.
How to apply xlst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| XPathDocument myXPathDoc = new XPathDocument(myXmlFile) ; | |
| XslCompiledTransform myXslTrans = new XslCompiledTransform(); | |
| myXslTrans.Load(myStyleSheet); | |
| XmlTextWriter myWriter = new XmlTextWriter("result.html",null); | |
| myXslTrans.Transform(myXPathDoc,null,myWriter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment