Thread: XPath question
View Single Post
Old 01-16-2010, 08:22 AM   #1
krischik
Addict
krischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheesekrischik can extract oil from cheese
 
krischik's Avatar
 
Posts: 334
Karma: 1234
Join Date: Jul 2009
Location: Hindelbank, Switzerland
Device: P990i, PRS 505
Question XPath question

I wonder - should:

Code:
<p><span>14</span></p>
not be found by:

Code:
//h:p/h:span[re:test(., '14', 'i')]
I mean ist a 14 inside a span inside a p, isn't it?

And I have not even started looking for 1 or 2 numeric digits instead of just a plain 14...

Martin
krischik is offline   Reply With Quote