J
Jon Spivey
Hi,
Moving from asp.net 1.1 to 2. I have an xml control on a page in the code
behind file I pull in some xml from a remote web site and format it with an
xsl stylesheet, code is just this
Dim s As String = "http://site.com/page.xml"
Dim d As New System.Xml.XmlDocument
Dim u As New System.Xml.XmlTextReader(s)
d.Load(u)
Xml1.Document = d
Xml1.TransformSource = "xsl/StyleSheet.xsl"
The code works fine but VS 2005 is telling me it's obsolete. What would be
the correct way to do this?
Thanks,
Jon
Moving from asp.net 1.1 to 2. I have an xml control on a page in the code
behind file I pull in some xml from a remote web site and format it with an
xsl stylesheet, code is just this
Dim s As String = "http://site.com/page.xml"
Dim d As New System.Xml.XmlDocument
Dim u As New System.Xml.XmlTextReader(s)
d.Load(u)
Xml1.Document = d
Xml1.TransformSource = "xsl/StyleSheet.xsl"
The code works fine but VS 2005 is telling me it's obsolete. What would be
the correct way to do this?
Thanks,
Jon