Feb 16, 2004 #1 lfc77 Programmer Joined Aug 12, 2003 Messages 218 Location GB I have an XML file, which I want to write the screen (in its standard XML format) in my ASP.NET C# webpage. Can anybody tell me how to do this? Cheers, lfc77
I have an XML file, which I want to write the screen (in its standard XML format) in my ASP.NET C# webpage. Can anybody tell me how to do this? Cheers, lfc77
Feb 19, 2004 #2 Craftor Programmer Joined Feb 1, 2001 Messages 420 Location NZ The easiest way is simply: Code: XmlDataDocument yourXml = new XmlDataDocument(); yourXml.Load("string_to_location"); Response.Write(yourXml.OuterXml); Hope that helps! Craftor Upvote 0 Downvote
The easiest way is simply: Code: XmlDataDocument yourXml = new XmlDataDocument(); yourXml.Load("string_to_location"); Response.Write(yourXml.OuterXml); Hope that helps! Craftor