How about instead enforcing the presence of id in the selector, ala: "/xmlns:worksheet/xmlns:hyperlinks/xmlns:hyperlink[id]"?