u"""Creates an XPathEvaluator instance for an ElementTree or an Element.

        :returns: ``XPathEvaluator`` instance

def xpath_evaluator(self, namespaces=None, regexp=False, smart_strings=True):
        u"""Creates an XPathEvaluator instance for an ElementTree or an Element.

        :returns: ``XPathEvaluator`` instance
        """
        return etree.XPathEvaluator(
            self._xml,
            namespaces=namespaces,
            regexp=regexp,
            smart_strings=smart_strings
        )