dom/node_set: normalize various node searching methods