K
Keith Chadwick
I have a merged dataset that contains xml read from SQL Server. I need to
place the data into an XPathDocument.
I can do the following:
mydataset.writeXML("mydata.xml")
dim xpdoc as new XPathDocument("mydata.xml")
Problem is it seem rather redundent to write data currently in memory to
disk in order to be read on the next line. According to the documentation
the writeXML method supports writing to System.IO.Stream and the
XPathDocument supports load from System.IO.Stream but I can not seem to get
this to work.
Any suggestions?
Cheers
Keith
place the data into an XPathDocument.
I can do the following:
mydataset.writeXML("mydata.xml")
dim xpdoc as new XPathDocument("mydata.xml")
Problem is it seem rather redundent to write data currently in memory to
disk in order to be read on the next line. According to the documentation
the writeXML method supports writing to System.IO.Stream and the
XPathDocument supports load from System.IO.Stream but I can not seem to get
this to work.
Any suggestions?
Cheers
Keith