My goal is to load an xml document from a remote url, make some changes to
it, and then display it in a webpage. Say my codebehind looks like this
private void Page_Load(Object sender, EventArgs e) {
XmlTextWriter writer = new
XmlTextWriter(Response.OutputStream, Encoding.UTF8);
XmlDocument doc = new XmlDocument();
doc.Load(
http://somexmlgeneratedhere.com?id=333);
//manipulate the doc here
doc.WriteTo(writer);
}
Im not getting the full document from the URL, I'm sure Im doing this wrong.
Can anyone point me in the right direction?
thanks in advance
Dave