'Locate all the <var> elements that need fixing in a node.
Returns a list of nodes.'

def find_fixable_vars(self, node):

    fix_expr = '|'.join([('.//%s[%s]' % (name, self.xpath)) for name in _INLINE_SCRIPT_NODES])
    return node.xpath(fix_expr)
