def evaluate(self, expression, processorNss=None):
from Ft.Xml import XPath<EOL>if not processorNss:<EOL><INDENT>context = XPath.Context.Context(self.node, processorNss=self.processorNss)<EOL><DEDENT>else:<EOL><INDENT>context = XPath.Context.Context(self.node, processorNss=processorNss)<EOL><DEDENT>nodes = expression.evaluate(context)<EOL>return [ElementProxy(self.sw,node) for node in nodes]<EOL>
expression -- XPath compiled expression