-2
<div class="search-page-right-pannel">
<div class="search-page-heading-red" style="font-weight:400; margin-bottom:7px; margin-top:-4px; text-align:left">
Big Bazaar (Future Group) <b>(Future)</b> </div>
<img src="images/address-icon.png" alt="" /> Knowledge House, Shyam Nagar Off Jogeshwari-Vikhroli Link Road Jogeshwari (East)<br>
Mumbai Maharashtra , 400060 <div class="detail-line"><img src="images/call.png" alt="" /> (022) 30841300 66442200 61190000<!--<span onmouseover="TagToTip('Span2')" onmouseout="UnTip()"><img src="images/call.png" alt="" /> <u style="color: #3079af">click to view number</u></span>-->
<img src="images/website-icon.png" alt="" style="margin-left:80px;" /> <a href="http://www.bigbazaar.com" target="_blank" class="pglink">www.bigbazaar.com</a> <span style="float:right"> </span>
</div>
我想要的XPath的計算的XPath
知識大廈,希亞姆·格爾關Jogeshwari-Vikhroli連道Jogeshwari(東) 孟買馬哈拉施特拉邦,400060
並且還將phone_no和網站的元素分開
(022)308413 00 66442200 61190000 www.bigbazaar.com
聽起來像你根本不需要html元素的XPath;您需要某些文本節點(即HTML元素的子節點)的XPath。您嘗試了哪些XPath表達式,結果如何? – LarsH 2014-08-28 15:54:16