def xpath(self, *args, **kwargs):
if '<STR_LIT>' not in kwargs:<EOL><INDENT>kwargs['<STR_LIT>'] = {i[<NUM_LIT:1>]: i[<NUM_LIT:2>] for i in self.device.namespaces<EOL>if i[<NUM_LIT:1>] is not None}<EOL><DEDENT>return self.ele.xpath(*args, **kwargs)<EOL>
xpath

        High-level api: It is a wrapper of xpath method in lxml package. If
        namespaces is not given, self.ns is used by default.

        Returns
        -------

        boolean or float or str or list
            Refer to http://lxml.de/xpathxslt.html#xpath-return-values