Refine XPath results using predicate matching

40

Author: JT Smith

Predicates give you advanced and refined searching capabilities, allowing you to evaluate the values of attributes and the parent and child nodes of a targeted element. Rather than find a wider node set and refine or filter that set programmatically, you can add predicates to your XPaths to find exactly the nodes you want.

Link: IBM developerWorks

Category:

  • Programming