(self, node)
return node.xpath(fix_expr)
Locate all the <var> elements that need fixing in a node.

        Returns a list of nodes.
Locate all the <var> elements that need fixing in a node.
Locate all the <var > elements that need fixing in a node .
def find_fixable_vars(self, node):
        """Locate all the <var> elements that need fixing in a node.

        Returns a list of nodes.
        """
        # Construct an XPath expression for finding nodes to fix
        fix_expr = '|'.join(['.//%s[%s]' % (name, self.xpath)
            for name in _INLINE_SCRIPT_NODES])

        return node.xpath(fix_expr)
def find_fixable_vars ( self , node ) : # Construct an XPath expression for finding nodes to fix fix_expr = '|' . join ( [ './/%s[%s]' % ( name , self . xpath ) for name in _INLINE_SCRIPT_NODES ] ) return node . xpath ( fix_expr )