M
MarkL
I'm trying to get an XML document from a local or remote resource by using:
//fromLocaton is a stream from either a local or remote resource.
XPathDocument xmlDocument = new XPathDocument(fromLocation);
Is there a way of determining that the fromLocation actually exists and
holds XML data before creating the XPathDocument?
//fromLocaton is a stream from either a local or remote resource.
XPathDocument xmlDocument = new XPathDocument(fromLocation);
Is there a way of determining that the fromLocation actually exists and
holds XML data before creating the XPathDocument?