Hi
I have a query that uses for xml auto
I'd like to load this into an xmldocument with an xmlreader
e.g.
Dim xr As XmlReader
xmlDoc = New XmlDocument
xr = oCom.ExecuteXmlReader
If xr.Read Then
xmlDoc.Load(xr)
End If
This fails as there is not root node.
I've seen that a SqlXmlCommand can be use to specify a root to a fragment
Is there another way to do this without the need of sqlxml?
Cheers