Nov 3, 2005 #1 T Tim Field Member Joined Aug 31, 2005 Messages 20 Hi all, I have a string containing xml that Id like to pass to an xpathdocument, anyone got any idea how to do this? Thanks, Tim
Hi all, I have a string containing xml that Id like to pass to an xpathdocument, anyone got any idea how to do this? Thanks, Tim
Nov 3, 2005 #2 PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,155 Location Lancashire, UK User Rank *Expert* Code: Dim s As String = "<your xml string>" Dim sr As New System.IO.StringReader(s) Dim x As New System.Xml.XPath.XPathDocument(sr)
Code: Dim s As String = "<your xml string>" Dim sr As New System.IO.StringReader(s) Dim x As New System.Xml.XPath.XPathDocument(sr)