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.
该集合有 4 个值(A、B、C、D),可以在文档中选择任意组合。
试图只为(A,B)。
var nodes = space.childrenByXPath("\*[@cm:mychoice='A, B']/\*");
var nodes = space.childrenByXPath("\*[@cm:mychoice='A' or @cm:mychoice='B']/\*");
应该做的伎俩。