我正在尝试使用XPathNodeIterator从元素中选择值。但是我无法从我的XML文件中获得预期的值。我的XML文件767MyCustomer1我获取值的方法我创建了两种方法,它们都不返回我想要的值。privatestaticstringGetValue_Attempt1(XPathDocumentxPathDocument,stringxpathExpression){varxpathNavigator=xPathDocument.CreateNavigator();varxpathNodeIterator=xpathNavigator.Select(xpathExpressio