Hello!
I want to load a string (in an xml format) into a XPathDocument, but it only
allows streams to be loaded...
Can anyone please help??
Thanks!!!
:wave:
Printable View
Hello!
I want to load a string (in an xml format) into a XPathDocument, but it only
allows streams to be loaded...
Can anyone please help??
Thanks!!!
:wave:
Use a StringReader:
Code:XPathDocument doc = new XPathDocument(new StringReader(xml_string));