1. As a part of my project I am using XSLT transformation to transform XML file to HTML format.
Can I avoid the loading of the xslt file from the hard disk and distribute the application with the xslt file as embedded resource?
I suppose, I have to include the file to the project and on the properties dialog to select: Embedded Resource.
How to access then the file stream in the particular snipped code attached?
2. Is there any version of a kind of Xsl transformation class that does render direct to a string instead to a file stream?
XslCompiledTransform xslt = new XslCompiledTransform();
string path = Path.GetDirectoryName(Application.ExecutablePath);