The HTML you see below is text I have scraped from a remote site, as-is, into a local variable.
Now I need to parse the authorName
and bookTitle
from the HTML tags into their own variables, given the following consistent format of the scraped text:
<p>
William Faulkner - 'Light In August'
<br/>
William Faulkner - 'Sanctuary'
<br/>
William Faulkner - 'The Sound and the Fury'
</p>
Is it possible to do this in XPath?