looking at the XSLCompiledTransform Class in .NET at trying to find a concise way to use it in F#. I am unfamiliar with string readers/writers but am looking at that as primary method to accomplish this. Or do I want XML readers?
I have a function that will take two arguments - an XML string and an XSLT stylesheet. I want to return a string of XML.
let applyXSLTransform xml xslFile =
let xslt = XslCompiledTransform()
xslt.Load(xslFile)
xslt.Transform(xml, outputToString); //This bit
It's nice and easy to do with files but seems a bit more involved to read and write to strings. I have seen a few C# samples and not having immediate success in getting them to work so still doing research onto readers and writers!
Cheers