dom: return a NodeSet from the builder