count(ancestor-or-self::samlp_xpath:Response | here()/ancestor::samlp_xpath:Response[1]) = count(ancestor-or-self::samlp_xpath:Response) http://middleware.internet2.edu/shibboleth/clubs/clubshib/1.0/ foo urn:oasis:names:tc:SAML:1.0:cm:Bearer