Hello.
I'm developing a web comsuming client using VS.NET 2003(VB), .NET
Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 computer.
I'm getting an XML document this way:
Dim node As XmlNode = proxy.RetrieveArchivedTrips(strDate, endDate)
Dim doc As XmlDocument = node.OwnerDocument
doc.AppendChild(node)
At this point "doc" contains the XML document that i am using. However, i'm
reading Beginning VB.NET XML. In all of the examples to use XPathDocument,
it always refers to a file on disk such as:
Dim xpDoc As XPathDocument = New XPathDocument("..\\CaseStudy.xml")
In the above statement, how do i get my "doc" to be used in place of
"..\\CaseStudy.xml" ?
I can create a file from doc by using "file.WriteLine(doc.OuterXml)" and use
that file in the above statement, but is there a way to do it directly from
"doc" ?
Any help would be gratefully appreciated.
Thanks,
Tony