Created
November 11, 2014 06:43
-
-
Save lmatt-bit/f14c8087724a5cdf66d5 to your computer and use it in GitHub Desktop.
create an xslt
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
| XNamespace xsl = "http://www.w3.org/1999/XSL/Transform"; | |
| var root = new XElement(xsl + "stylesheet", new XAttribute("version", "1.0"), new XAttribute(XNamespace.Xmlns + "xsl", xsl)); | |
| var template = new XElement(xsl + "template", new XAttribute("match", "/")); | |
| template.Add(items); | |
| root.Add(template); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment