摘要:
通过 xpath 查找 xml 内容步骤: XPathDocument document = new XPathDocument(xmlFullpath); //读取xml内容XPathNavigator navigator =document.CreateNavigator(); //创建xml导航器XPathExpression expression = navigator.Compile(xpathString); // 将输入的 xpathString, 编译成表达式XPathNodeIterator nodeIterator = navigator.Select(expression 阅读全文