XPathEvaluator 无法在 IE 9 中运行。 你能告诉我替代这个的新方法吗?
谢谢, 赫曼特
最佳答案
使用 MSXML XPath API 的 selectSingleNode
方法:
xmlDoc.selectSingleNode("//book/author");
关于javascript - XPathEvaluator 无法在 IE 9 中工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6743590/