Hello,
I have an XML file with data in it (no schema). I
need to convert this data into an xsl file so that I can
display it in Internet Explorer.
Can someone help me out with the code?
So far I tried some of the examples listed in the microsoft
website and they are all obsolete in Visual studio.net 2003.
Can someone please help me out with this problem.
Thanks
Darshan
One of the tries:
Dim xmlfile As String = "TestXML.xm l"
Dim xslfile As String = "TestXSL.xs lt"
Dim resolver As XmlResolver 'vs.net2003 will not allow me to
'use new() here
Dim xslt As New XslTransform
resolver.Creden tials =
System.Net.Cred entialCache.Def aultCredentials
'I get an error here: no xsl file is loaded.
xslt.Load(xslfi le, resolver)
'Therefore this line does not execute.
xslt.Transform( xmlfile, xslfile, resolver)