I am creating a method to return an HTML string as the result of an XSLT transformation.
When I run the following code I am getting Illegal Characters in Path error on t
There is no need to call File.ReadAllText(path). Just pass the fully qualified file path as follows:
'var xsltTemplate = File.ReadAllText(path); xsltTransform.Load(path);