XPATH commands working in Google docs, but not in Rapidminer
I am trying to extract text in Rapidminer using XPATH.
I am not able to extract
the following text "(6:4,6:7,3:6) from the following HTML code.
<p id="event-status" class="result">
<span class="bold" id="event-status- finished">Final result 1:2</span> (6:4,6<sup>3</sup>:7,3:6)</p></div>
I am able to extract the text "Final result 1:2" as it associated alone with class="bold" and id="event-status-finished". But, id="event-status-name" of div tag is associated with both id="event-status-name" and span tag.
I tried many versions to make it work. Some of them are
//div[@id='event-status-name'] and the corresponding rapidminer command
It works fine with XPATH in Google docs, but not in rapidminer. Also, when I remove "text()" in rapidminer, the code does not have the text that I am looking for, i.e the text area is blank. Any ideas as to why it is like that?
In the above code, the string "Final Result ..." along with score is displayed. In the following code,
only score related text is displayed correctly in XPATH. But, the corresponding rapidminer command
displays blank space
I even tried normalizing command to remove white space
I tried different other versions like
All of them work fine in Google docs, but not in rapidminer, i.e they just display blank space in the corresponding column.
Could someone please help me in this regard.