Hi;
The following works - but I am asking if this is the best way to do this. I
need an XPathNavigator for an xml file that is located on a server. This file
may need a username/password to get to it. Is this the best way to do so:
XmlUrlResolver resolver = new XmlUrlResolver();
resolver.Credentials = dsi.Credentials; // These are NetworkCredentials
XmlDocument xdoc = new XmlDocument();
xdoc.XmlResolver = resolver;
xdoc.Load(ds.XmlFilename);
nav = xdoc.CreateNavigator();
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm