support [@attribute='value'] predicate in XPath expression