Linux.com

Everything Linux and Open Source

Refine XPath results using predicate matching

July 01, 2008 (5:30:00 AM)  -  1 year, 4 months ago
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.
Read in the original layout at: http://www.linux.com/archive/articles/140083