I'm currently reading data from an XML file using XPathNavigator and XPathNodeIterator to select the subset of data that I want. I've never using the XPath objects before so I'm not sure how to get this data into a dataset.
XPathDocument doc = new XPathDocument(@"C:\inetpub\ XPathNavigator nav = doc.CreateNavigator();
XPathNodeIterator iter = nav.Select("/test/translation/engword[preceding-sibling::fraword = '" + strFraWord + "']");
Can anybody help me out with this? Any assistance would be really appreciated.
Cheers,
lfc77
XPathDocument doc = new XPathDocument(@"C:\inetpub\ XPathNavigator nav = doc.CreateNavigator();
XPathNodeIterator iter = nav.Select("/test/translation/engword[preceding-sibling::fraword = '" + strFraWord + "']");
Can anybody help me out with this? Any assistance would be really appreciated.
Cheers,
lfc77