Hi,
I have a function from one component that returns an XmlDocument object. I
have another function in another component that takes an XmlDocument as a
property. I have written an XSLT to transform the Xml from the first function
to the format expected by the second function.
But I don't see how I can call the tranformation process in .NET 2.0. It
says that I have to use the XslCompiledTransform class in .NET 2.0, but the
transform function of this class has 14 overloads and none of them accepts
XmlDocument as either input or output parameter. (huh?) The overload that
comes closest to what I need uses an XmlReader and XmlWriter object as
parameters, but how to get my source XmlDocument into the reader and how to
extract the result from the writer? (Without saving it to file first and then
reading it again from file of course)
Any help appreciated. I'm most familiar with VB.NET programming.
Cedric