Hi, I'm quite new to this stuff, but i.m stuck on how to extract part of HTML code from saved web page with XPath. Code onpage looks like below and i would like to extract the number.
<div>
<span>Age:</span>
22
</div>
I tried xpath below on google docs and it works exactly how i want it to.
//*[contains(., 'Age:')]/../span/text()
But i just can't figure out what am i missing in Rapid miner. I tried putting html namespace, as well as adding predicates. Rapid xpath looked like:
//h:*[contains(., 'Age:')]/../span/text()[2]
And it gives empty fields as results. Anyone has some suggestions?