Hi arvee
Good question - start by setting the Build Action on your .xsl files to
embedded resource. Then you can get access to the files using the following
code:
Dim a As System.Reflection.Assembly =
System.Reflection.Assembly.GetExecutingAssembly
Dim s As IO.Stream = a.GetManifestResourceStream("AssemblyName.test.xsl ")
Dim sr As New IO.StreamReader(s)
MessageBox.Show(sr.ReadToEnd()
HTH
Nigel Armstrong
"arvee" wrote:
I like the idea of doing transforms on XML data via stylesheet, but I don't
like having to manage lots of .xslt files.
Is there a standardized approach to storing xslt strings in a .net
application?