13.xml content
XML Version = "1.0" encoding = "GB2312"?>
<不> SDF no>
A>
FILESTREAM FSO = New FileStream ("C: //13.xml", FileMode.Open;
Try
{
XpathDocument Doc = New XpathDocument (FSO);
Xpathnavigator NAV = doc.createnavigator ();
XpatHexpression Exp = Nav.Compile ("/ A / No.);
XpathnodeEiterator XN = nav.select (eXP);
While (xn.movenext ())
{
Xpathnavigator nav2 = xn.current.clone ();
Messagebox.show (nav2.value);
}
}
Catch
{
Throw;
}
Finally
{
Fso.close ();
}