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> <b name = "b1"></b> <b name = "b2"> <c/> </b> <b name = "b3"></b> </a>
b 中所有具有子元素 c 的元素。简而言之,如何"/b[c]"使用 tinyxml2 查询 xpath 的 xml 树。
"/b[c]"