def __query(self, query, tagid=None):
if self.encrypted:<EOL><INDENT>document = self.decrypted_document<EOL><DEDENT>else:<EOL><INDENT>document = self.document<EOL><DEDENT>return OneLogin_Saml2_Utils.query(document, query, None, tagid)<EOL>
Extracts nodes that match the query from the Response

:param query: Xpath Expresion
:type query: String

:param tagid: Tag ID
:type query: String

:returns: The queried nodes
:rtype: list