I was wondering there was a way for XPath to return HTML of a particular element?
<td>
1212 S.W. 123 St.
<br>
Flower, Maryland 11234
<br>
United States
</td>
XPath query:
string(//table[@cellspacing='10']/tr[2]/td[2])
Current Output
1212 S.W. 123 St.Flower, Maryland 11234United States
Desired output:
1212 S.W. 123 St.<br>Flower, Maryland 11234<br>United States