Html – Xpath: Extract text between tags, but stop as soon as an embedded tag occurs
I would like to extract the text within the following HTML. However, everything that occurs within an enclosed HTML tag and everything that comes after it should be ignored. The HTML appears in different forms. <span class="classA">Text 1 <span class="classB">Text…