我被SAX解析器做RSS解析和我收到此格式:從這個網站碼如何從Android中的HTMl代碼獲取標記值?
<description><![CDATA[<div><b>Start Time:</b> 12/19/2010 6:30 PM</div>
<div><b>End Time:</b> 12/19/2010 10:00 PM</div>
<div><b>Description:</b> Break Guinness World Records of arda</div>
<div><b>Type of Event:</b> <a onclick="OpenPopUpPage('http://www.example.com/_layouts/listform.aspx?PageType=4&ListId={5368B20F-2E1F-4984-9308-3E46442B2336}&ID=79&RootFolder=*', RefreshPage); return false;" href="http://www.example.com/_layouts/listform.aspx?PageType=4&ListId={5368B20F-2E1F-4984-9308-3E46442B2336}&ID=79&RootFolder=*">Aspire closed stadium</a></div>
<div><b>Localization Data:</b> <data><item field="Title" lang="ar-SA"> Break record </item><item field="Description" lang="ar-SA">&lt;P align=right&gt;Break record &amp;nbsp; 9/12/2010 Break record " National " Men Poetry Activities . &lt;/P&gt;</item></data></div>
<div><b>LocationInInteractiveMap:</b> Don't Show</div>
<div><b>Latitude:</b> 25.266024</div>
<div><b>Longitude:</b> 51.443814</div>
<div><b>EventLogo:</b> <img alt="" src="/SiteCollectionImages/Event%20Images/Default.png" style="BORDER: 0px solid; "></div>
]]></description>
所以如何我得到的標記值?
我的答案與Patel的答案不同嗎? –
不,但只是我第一次看到 – 2011-10-21 11:19:16
@Patel你首先看到了什麼?是不是你的答案是多餘的,因爲我已經回覆了相同的內容。 –