HTML parsing
Posted: 10 Jan 2017 15:49
I'm trying to find a way to read a webpage and display selected information from it using string variables. My attempts to parse the result of a HTTP GET Request using: failed. Later, I've come across a post on this forum where Martin said that this function only works with XML proper and that it should not be used with HTML.
I know that some people on this forum were able to successfully retrieve information from a website but I did not find any specific information or suggestions how this could be done (my apologies if I've missed it). I'd rather avoid using substring operations for this because the HTML source I need to parse is dynamic and I think this approach could yield inconsistent results.
Would anyone have any suggestions how this could be done? Thanks in advance.
Code: Select all
evaluateXPathAsString
I know that some people on this forum were able to successfully retrieve information from a website but I did not find any specific information or suggestions how this could be done (my apologies if I've missed it). I'd rather avoid using substring operations for this because the HTML source I need to parse is dynamic and I think this approach could yield inconsistent results.
Would anyone have any suggestions how this could be done? Thanks in advance.