I am trying to use Xpath to search for nodes within an html block.
I have found the HTML can have random XML nodes. eg <john></john>
or <[email protected]></[email protected]>
How do I structure the xpath query to find all instances in a single search.
I've tried the following but not having luck.
//[email protected]|//[email protected]|//john|//anotheremail
//[email protected]|[email protected]|john|anotheremail
//[email protected] or [email protected] or john or anotheremail
But it doesn't produce the result set.
If I search for them individually, I can get matches.
What am I doing wrong here?