All I want to do is execute a simple transformation in VB.net.... I know
this has to be simple.
I tried the following as suggested by a web page I found....
Dim xslt as New XslTransform()
xslt.Load("File name")
xslt.Transform( "InFile", "ResultFile ")
This appears to be very straightforward to me.
However, this causes an error saying the code is obsolete... (I thought the
whole Framework version concept meant backwards compatability, but I guess
not.) it further says "You should pass XmlResolver to Transform() method"
Can anyone tell me how / where / why to add the XmlResolver ?
Thanks !
this has to be simple.
I tried the following as suggested by a web page I found....
Dim xslt as New XslTransform()
xslt.Load("File name")
xslt.Transform( "InFile", "ResultFile ")
This appears to be very straightforward to me.
However, this causes an error saying the code is obsolete... (I thought the
whole Framework version concept meant backwards compatability, but I guess
not.) it further says "You should pass XmlResolver to Transform() method"
Can anyone tell me how / where / why to add the XmlResolver ?
Thanks !
Comment