Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
选择具有属性 A 的所有元素的 XPath 表达式是什么?
const char* xpath = "//\*/\*[@A]"
此 XPath 选择所有具有 A 属性的元素:
//*[@A]