<div class="logoDesc">
Gnb Road, Chandmari, Guwahati - 781003
|
<a href="http://www.justdial.com/Guwahati/Kiran-Mistanna-Bhandar-<near>-Chandmari/9999PX361-X361-1230284509G9V5B2-DC_R3V3YWhhdGkgQmFjaGVsb3IgQ2FrZQ==_BZDET/map">
View Map</a><br>
<p>
<span class="Gray">Call: </span><span style="color: #424242; font-size: 12px;">+(91)-9954843180</span>
<span style="color: #424242;">|</span> <a href="http://contest.justdial.com/contest/register.php?utm_source=rsbnr&utm_medium=banner&cont_ref=rsbnr"
style="font-size: 12px; display: inline-block;" onclick="_ct('Win Ipad2','ltpg');"
target="_blank"><b>Win iPad2</b></a>
</p>
<p>
<span class="Gray">Also See :</span> <b>Cake Shops</b>, <a href="http://www.justdial.com/Guwahati/Bakeries/ct-10033880">
Bakeries</a>, <a href="http://www.justdial.com/Guwahati/Confectionery-Retailers/ct-10127628">
Confectionery Retailers</a>
</p>
</div>
我正在使用HTML敏捷包... ii只想提取地址[星星之間] ..應該是什麼語法?請幫助。HTML敏捷包語法
UPDATE:我使用下面的代碼
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim webGet = New HtmlWeb()
Dim document = webGet.Load("http://www.justdial.com/Guwahati/Bachelor-Cake/ct-10070075")
Dim nodes1 = document.DocumentNode.SelectNodes("//*[@class='logoDesc']")
For Each node In nodes1
MsgBox(node.InnerText)
Next node
End Sub
使用此代碼段我讓所有的DIV中的細節......我只想地址。
可能重複:http://stackoverflow.com/q/2875347/102937 – 2012-07-11 22:58:14
沒有它不..其實並沒有標籤周圍的地址...所以我很困惑如何獲得地址? – user1150440 2012-07-11 23:00:20
我的意思是如何形成語法? – user1150440 2012-07-11 23:00:38