upgraded XPath evaluator with bug fix for area()