Example code to do XSL transform from string to string
XPathDocument doc = new XPathDocument(new StringReader(inputXML));
XslTransform xslt = new XslTransform();
xslt.Load(whatever);
StringWriter sw = new StringWriter();
xslt.Transform(doc, null, sw);
The resulting string is in sw.ToString().
Labels: XSLT
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment