set:distinct() returns a subset of the nodes in the specified node-set, returning only nodes with unique string values.
Syntax
set:distinct(nodeSet)
Parameters
nodeSet- : The node-set in which to find unique nodes.
Return value
A node-set containing the nodes that have unique string values.
Specifications
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
