If case insensitive, use the following:
//a[contains(translate(text(),'PROGRAMMING','programming'), 'programming')]/@href
translate converts uppercase letters to PROGRAM for lower case programming.
Abdo Jan 03 '13 at 21:42 2013-01-03 21:42
source share