Constructor - String
String bir URI'dir. Şöyle
yaparız.
string uri = ...;
var xSourceDoc = new XPathDocument(uri);
Constructor - TextReader
Şöyle
yaparız.
XPathDocument xSourceDoc;
using (TextReader tr = new StringReader(strSourceXML))
{
xSourceDoc = new XPathDocument(tr);
}
Hiç yorum yok:
Yorum Gönder