XPathNavigator domNav = MainDataSource.CreateNavigator();
XPathNodeIterator rows = domNav.Select(
"/my:myFields/my:table/my:row", NamespaceManager);
while (rows.MoveNext())
{
string field1 = rows.Current.SelectSingleNode(
"my:field1", NamespaceManager).Value;
string field2 = rows.Current.SelectSingleNode(
"my:field2", NamespaceManager).Value;
string field3 = rows.Current.SelectSingleNode(
"my:field3", NamespaceManager).Value;
}
nice post
ReplyDelete