According to the XPath spec this function *can only* take node sets, nothing else. Lets actually enforce that.