I have a setup that looks like this :
<div class="content">
<h3 class="faq">Joocey</h3>
Locked Bag 4005
<br>
6/78 William Street
<br>
Sydney NSW 2000
<br> Customer Care: <a href="tel:1300886534">1300886534</a><br>
or<br> <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4028252c30002a2f2f2325396e232f2d6e2135">[email protected]</a><br> <br>
<div class="greenbar">
<a href="/Stores">See All Stores <i class="icon-chevron-right icon-white pull-right"> </i</a>
</div>
<!--greenbar-->
<!--main_footer-->
</div>
How do I single out each individual text line within the div[@class="content"]
?
For instance, I need to extract : "Joocey", "Locked Bag 4005", "6/78 William Street", "SydneyNSW 2000", "Customer Care:", "1300886534".
I attempted
"//div[@class='content'][text()[2]]"
to specifically target "Locked Bag 4005" but it ends up selecting all the text. Any assistance would be highly appreciated.