可以完全忘掉 Javascript 繁複的 XML function
使用 XPath 或 CSS Selector 也可以
這裡有一個 XML 檔案, 類型是 RSS (取自 http://news.google.com.hk/)
google_news.xml
<rss version="2.0">
<channel>
<generator>
NFE/1.0
</generator>
<title>
焦點新聞 - Google 新聞
</title>
<link>
http://news.google.com.hk?pz=1&ned=hk&hl=zh-TW
</link>
<language>
zh-TW
</language>
<webMaster>
[email protected]
</webMaster>
<copyright>
&copy;2010 Google
</copyright>
<pubDate>
Thu, 21 Jan 2010 13:22:10 GMT+00:00
</pubDate>
<lastBuildDate>
Thu, 21 Jan 2010 13:22:10 GMT+00:00
</lastBuildDate>
<image>
<title>
焦點新聞 - Google 新聞
</title>
<url>
http://www.gstatic.com/news/img/bluelogo/zh-TW_hk/news.gif
</url>
<link>
http://news.google.com.hk?pz=1&ned=hk&hl=zh-TW
</link>
</image>
<item>
<title>
政府指五區總辭為政制發展設置新障礙 - 新城電台
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fwww.metroradio.com.hk%2F997%2FNews%2FDefault.aspx%3FNewsID%3D391bd508-2163-4ed9-9341-eeb6ab35c6e5&usg=AFQjCNHP7MQHPN6ZzS78l5yk3aChzP6VJw
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372398570
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 13:07:55 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1402903%2F1.html&amp;usg=AFQjCNHdcTZx5_mO2HKm6LEm6MZwfnCtlg"><img src="http://nt2.ggpht.com/news/tbn/ogOpSP1K7oYYBM/0.jpg" alt="" border="1" width="80" height="60" /><br /><font size="-2">香港新浪網</font></a></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.metroradio.com.hk%2F997%2FNews%2FDefault.aspx%3FNewsID%3D391bd508-2163-4ed9-9341-eeb6ab35c6e5&amp;usg=AFQjCNHP7MQHPN6ZzS78l5yk3aChzP6VJw"><b>政府指五區總辭為政制發展設置新障礙</b></a><br /><font size="-1"><b><font color="#6f6f6f">新城電台</font></b></font><br /><font size="-1">社民連和公民黨, 公布五區總辭的名單, 包括梁家傑, 陳淑莊, 黃毓民, 陳偉業和梁國雄, 會在下星期二向立法會遞交辭職信, 下星期五正式生效. 五區請辭聯合委員會主席余若薇強調, 他們並非要搞港獨, 又重申他們的行動, 是符合基本法. 政制及內地事務局晚上回應, 表示在基本法 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.hkatvnews.com%2Fv3%2Fshare_out%2F_content%2F2010%2F01%2F21%2Fatvnews_136829.html&amp;usg=AFQjCNEebDs-_4eOWQXLoEBohiJ-6kXarQ">公民黨及社民連公布五區請辭名單</a><font size="-1" color="#6f6f6f"><nobr>亞視新聞</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403121%2F1.html&amp;usg=AFQjCNGfnZZbpwzCHXj-8Me55AeY6QLlIQ">五議員下周二請辭曾憲梓斥「無腦」</a><font size="-1" color="#6f6f6f"><nobr>香港新浪網</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww1.881903.com%2Fapps%2FnewsBoss%2Fhtml%2Fnews%2F20100121%2F2010012114370880400.htm&amp;usg=AFQjCNH4b4fCkcpYaG2RuClMfDnpcd0aAQ">余若薇否認五區辭職是搞港獨</a><font size="-1" color="#6f6f6f"><nobr>商業電台</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.wenweipo.com%2F2010%2F01%2F21%2FIN1001210125.htm&amp;usg=AFQjCNHVeBwntakwZg6V213GUbKhv4upPQ"><nobr>香港文匯報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100121%2Fnews_20100121_55_642229.htm&amp;usg=AFQjCNHye86Q7DzFtZE-XaEaRXM2m3LMEw"><nobr>香港電台</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1402938%2F1.html&amp;usg=AFQjCNGicDtZcZoVFaF7v1l4kdSgNLks6w"><nobr>香港新浪網</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dBNRak8PPh2waZMecpOFS-Hsiuq8M&amp;topic=h"><nobr><b>共有 46 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
6個醃製食物樣本不合格 - 香港新浪網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403173%2F1.html&usg=AFQjCNGWBuoy_kFvtgAcE6JO9PaGNBaR8g
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372463910
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 09:48:14 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403173%2F1.html&amp;usg=AFQjCNGWBuoy_kFvtgAcE6JO9PaGNBaR8g"><b>6個醃製食物樣本不合格</b></a><br /><font size="-1"><b><font color="#6f6f6f">香港新浪網</font></b></font><br /><font size="-1">今物安全中心發現6個醃製食物樣本不合格,包括辣味蘿蔔及辣油竹筍。 食物安全中心從市面抽取約370個醃製水果及蔬菜樣本,包括脆瓜、蘿蔔、鹹菜、蕎頭、辣椒、芒果乾、提子乾及杏脯等,作防腐劑如「二氧化硫」、「苯甲酸」及「山梨酸」檢測,除了8個不合格醃製食品樣本已 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww1.881903.com%2Fapps%2FnewsBoss%2Fhtml%2Fnews%2F20100121%2F2010012116580541400.htm&amp;usg=AFQjCNEJktNgAaxl0o6ATZDzS9B-cjOVtw">六個防腐劑超標醃製食物在大型超市有售</a><font size="-1" color="#6f6f6f"><nobr>商業電台</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.news.gov.hk%2Ftc%2Fcategory%2Fhealthandcommunity%2F100121%2Fhtml%2F100121tc05003.htm&amp;usg=AFQjCNE3MVSZUbFu1Sr1k0LFlGSCaGeXZg">六醃製蔬果樣本防腐劑超標</a><font size="-1" color="#6f6f6f"><nobr>香港政府新聞網</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.metroradio.com.hk%2F997%2FNews%2FDefault.aspx%3FNewsID%3Dba196c9c-a17c-4856-8ba9-54f6155d1087&amp;usg=AFQjCNGOUhu-xXTodlQXan3PiDL_W9rzcw">再發現六醃製食物防腐劑超標竹筍最嚴重</a><font size="-1" color="#6f6f6f"><nobr>新城電台</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100121%2Fnews_20100121_55_642204.htm&amp;usg=AFQjCNEk9ucJgFVNHkfs03e4eBgKC-vbTw"><nobr>香港電台</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fhk.apple.nextmedia.com%2Frealtime%2Fart_main.php%3F%26iss_id%3D20100121%26sec_id%3D6996647%26art_id%3D13650484&amp;usg=AFQjCNH9ISXlwmI34Dkg2y26ZxF-Jn4ZAA"><nobr>蘋果日報 (需訂閲)</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww1.881903.com%2Fapps%2FnewsBoss%2Fhtml%2Fnews%2F20100121%2F2010012116281028700.htm&amp;usg=AFQjCNFoCvSxAoHHVA083-z6KrJwSEPcfA"><nobr>商業電台</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dDw8m7TFhITM5MMkJmW1dVXWA2LlM&amp;topic=h"><nobr><b>共有 10 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
紐時網站 明年要收費了 - 世界日報
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fwww.worldjournal.com%2Fview%2Ffull_us%2F5618025%2Farticle-%25E7%25B4%2590%25E6%2599%2582%25E7%25B6%25B2%25E7%25AB%2599-%25E6%2598%258E%25E5%25B9%25B4%25E8%25A6%2581%25E6%2594%25B6%25E8%25B2%25BB%25E4%25BA%2586%3Finstance%3Dus_bull&usg=AFQjCNEppayWk03G568s8aFKM5f0LfZ_OA
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797371971882
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 12:49:21 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.worldjournal.com%2Fview%2Ffull_us%2F5618025%2Farticle-%25E7%25B4%2590%25E6%2599%2582%25E7%25B6%25B2%25E7%25AB%2599-%25E6%2598%258E%25E5%25B9%25B4%25E8%25A6%2581%25E6%2594%25B6%25E8%25B2%25BB%25E4%25BA%2586%3Finstance%3Dus_bull&amp;usg=AFQjCNEppayWk03G568s8aFKM5f0LfZ_OA"><b>紐時網站 明年要收費了</b></a><br /><font size="-1"><b><font color="#6f6f6f">世界日報</font></b></font><br /><font size="-1">紐約時報20日宣布,擬在明年年初向經常在該報網站閱讀文章的人收費。媒體界一直在爭論這種政策,但迄今幾乎所有大報都不敢這樣做。 從2011年初開始,讀者可在紐約時報網站(NYTimes.com)每月免費閱讀一定數目的文章,然後需要交付一定費用,才能無限制地閱讀文章。 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fiservice.libertytimes.com.tw%2FliveNews%2Fnews.php%3Fno%3D322728%26type%3D%25E5%259C%258B%25E9%259A%259B&amp;usg=AFQjCNF3aA2vxVsswylNnFXmYvnZHwceVQ">《紐約時報》網站明年起收費</a><font size="-1" color="#6f6f6f"><nobr>自由時報</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fbig5.xinhuanet.com%2Fgate%2Fbig5%2Fnews.xinhuanet.com%2Fworld%2F2010-01%2F21%2Fcontent_12851973.htm&amp;usg=AFQjCNGnl9n9nDVRC13ClnR5YAMBX6lsnA">《紐約時報》網站將從2011年開始收費</a><font size="-1" color="#6f6f6f"><nobr>新華網</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1402977%2F1.html&amp;usg=AFQjCNEzcZMrc7Zkue1_JtPmKTCHtPdDMg">《紐約時報》網站明年起徵費</a><font size="-1" color="#6f6f6f"><nobr>香港新浪網</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.sinchew.com.my%2Fnode%2F146827%3Ftid%3D2&amp;usg=AFQjCNHHIDzFX0qFZGj-vjGwZWqVHIiwZA"><nobr>星洲日報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fhk.apple.nextmedia.com%2Frealtime%2Fart_main.php%3F%26iss_id%3D20100121%26sec_id%3D10793140%26art_id%3D13651225&amp;usg=AFQjCNErHfOiZn0wjo6AaA5sPrFuEg5JdQ"><nobr>蘋果日報 (需訂閲)</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.cts.com.tw%2Fcnyes%2Fmoney%2F201001%2F201001210393894.html&amp;usg=AFQjCNG1gI16JP6BusihWvSlhkIv_zTpwQ"><nobr>華視新聞</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dngZhfvVQuNCyeM-04TU7BspvP-AM&amp;topic=h"><nobr><b>共有 41 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
海關檢盜版運程書拘七人 - 香港政府新聞網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fwww.news.gov.hk%2Ftc%2F330eb098-4d7f-4bc5-88b6-75e824016fcf.htm&usg=AFQjCNFUquS2BUsJGnOB3WpzD8i2d9-eUQ
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372456605
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 10:36:37 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.news.gov.hk%2Ftc%2F330eb098-4d7f-4bc5-88b6-75e824016fcf.htm&amp;usg=AFQjCNFUquS2BUsJGnOB3WpzD8i2d9-eUQ"><b>海關檢盜版運程書拘七人</b></a><br /><font size="-1"><b><font color="#6f6f6f">香港政府新聞網</font></b></font><br /><font size="-1">香港海關在北角、旺角及元朗共檢獲140本懷疑盜版運程書,總值約6200元;拘捕7名年齡介乎37 - 54歲的涉案人士。 海關版權及商標調查科指揮官葉慧嬋今天(1月21日)在記者會上強調,售賣盜版書籍屬嚴重罪行,報攤或店主勿以身試法;市民應尊重知識產權,勿貪圖便宜購買盜版 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.hkatvnews.com%2Fv3%2Fshare_out%2F_content%2F2010%2F01%2F21%2Fatvnews_136831.html&amp;usg=AFQjCNE_VWUeLc4V69sXbNDIzJg3nnhQLg">海關檢獲逾百本盜版運程書拘捕七人</a><font size="-1" color="#6f6f6f"><nobr>亞視新聞</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.metroradio.com.hk%2F997%2FNews%2FDefault.aspx%3FNewsID%3Dcf4923a6-d46a-4006-b8ff-fa5ee9905766&amp;usg=AFQjCNF_gl6cHSHgJx0lUbLmwy8SfzSpUg">海關稱有人將正版和盜版運程書混雜出售</a><font size="-1" color="#6f6f6f"><nobr>新城電台</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww1.881903.com%2Fapps%2FnewsBoss%2Fhtml%2Fnews%2F20100121%2F2010012116201291200.htm&amp;usg=AFQjCNFQ1wAA7arU5d_i1xcv0mZOa0hElA">海關檢獲的盜版運程書涉及四名作者</a><font size="-1" color="#6f6f6f"><nobr>商業電台</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403063%2F1.html&amp;usg=AFQjCNH8591MB4QlybWfIK6a_KazqZgizQ"><nobr>香港新浪網</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.info.gov.hk%2Fgia%2Fgeneral%2F201001%2F21%2FP201001210212.htm&amp;usg=AFQjCNFDhmYyf1AaQeITgU5Oogpgl-QT0g"><nobr>香港政府資訊中心 (新聞發布)</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100121%2Fnews_20100121_55_642175.htm&amp;usg=AFQjCNHRcbYHPMst6sG5l1QfVOBdMfOW8w"><nobr>香港電台</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dKXjsVlKfkjYFBMoKlYdVdx0l59cM&amp;topic=h"><nobr><b>共有 10 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
政府:不承認任何「公投」 - 香港新浪網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403271%2F1.html&usg=AFQjCNEm-woB-5eSsONhraI-0irm2HP0ww
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372228439
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 12:39:10 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.chinareviewnews.com%2Fcrn-webapp%2Fmag%2FdocDetail.jsp%3Fcoluid%3D0%26docid%3D101205005&amp;usg=AFQjCNHiosvIdze8faOl8ldkmTkitv73kw"><img src="http://nt0.ggpht.com/news/tbn/NH14bGrCX2x5PM/0.jpg" alt="" border="1" width="80" height="61" /><br /><font size="-2">中國評論</font></a></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403271%2F1.html&amp;usg=AFQjCNEm-woB-5eSsONhraI-0irm2HP0ww"><b>政府:不承認任何「公投」</b></a><br /><font size="-1"><b><font color="#6f6f6f">香港新浪網</font></b></font><br /><font size="-1">政府發言人表示,在香港進行任何形式的所謂「公投」,都是完全沒有法律基礎和沒有法律效力的,政府不予承認的。 發言人稱,政府已多次表明,在《基本法》下並沒有公投的制度。在香港進行任何形式的所謂「公投」,都是完全沒有法律基礎和沒有法律效力的,政府是不予承認的 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100121%2Fnews_20100121_55_642252.htm&amp;usg=AFQjCNGFaQwakB6Fu2RcqEyuLPYx7HcgPw">政府重申所謂公投對推動政制發展設置新障礙</a><font size="-1" color="#6f6f6f"><nobr>香港電台</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.hkdailynews.com.hk%2Fnews.php%3Fid%3D82323&amp;usg=AFQjCNHhcSYILPI2vcZefiA4taYCvQ073Q">特區政府不能「行政主導」公投</a><font size="-1" color="#6f6f6f"><nobr>新報</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.chinareviewnews.com%2Fcrn-webapp%2Fmag%2FdocDetail.jsp%3Fcoluid%3D0%26docid%3D101205005&amp;usg=AFQjCNHiosvIdze8faOl8ldkmTkitv73kw">五區“公投”:兩違反兩挑戰兩損害</a><font size="-1" color="#6f6f6f"><nobr>中國評論</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.cdnews.com.tw%2Fcdnews_site%2FdocDetail.jsp%3Fcoluid%3D110%26docid%3D101039119&amp;usg=AFQjCNEJjlWg_BstvWP3l4Xt4RTKQfguaQ"><nobr>中央日報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fpaper.wenweipo.com%2F2010%2F01%2F20%2FHK1001200012.htm&amp;usg=AFQjCNGE3pyGFDRmpQ3JLdbiPssTmKzrLg"><nobr>香港文匯報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.takungpao.com%2Fnews%2F10%2F01%2F20%2FGW-1204282.htm&amp;usg=AFQjCNEpV018Wwl8B7q6d19qz7WLysRmoQ"><nobr>大公報</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dix8CRM3gZesh0M5t8UpzshAxbKzM&amp;topic=h"><nobr><b>共有 25 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
去年火警召喚總數35771宗 - 香港新浪網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403256%2F1.html&usg=AFQjCNFYRnNd3Yuq7YzPL7PZTNvELdjf_Q
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372452403
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 11:53:14 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403256%2F1.html&amp;usg=AFQjCNFYRnNd3Yuq7YzPL7PZTNvELdjf_Q"><b>去年火警召喚總數35771宗</b></a><br /><font size="-1"><b><font color="#6f6f6f">香港新浪網</font></b></font><br /><font size="-1">消防處舉行二○○九年工作回顧。去年的火警召喚總數有35771宗,與二○○八年的35513宗相若。三級或以上的火警由○八年的18宗減少至去年的十宗。去年的樓宇火警中有百分之95.6是前線人員可以在規定的召達時間內到場處理,較既定的服務承諾,即百分之92.5,高出三個百分點。 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.metroradio.com.hk%2F997%2FNews%2FDefault.aspx%3FNewsID%3D858a57d3-11c8-4a76-b6aa-16bd778e9f75&amp;usg=AFQjCNGPf26aD7S3j9JIEv8DF02QzSmtdQ">消防處最快在 2013年落實救護車調派分級制</a><font size="-1" color="#6f6f6f"><nobr>新城電台</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww1.881903.com%2Fapps%2FnewsBoss%2Fhtml%2Fnews%2F20100121%2F2010012116550520900.htm&amp;usg=AFQjCNHPw4bdb87HqYJ6GPbq07e2t5509A">消防處兩個月內向立法會提交救護車召喚分級制細節</a><font size="-1" color="#6f6f6f"><nobr>商業電台</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.info.gov.hk%2Fgia%2Fgeneral%2F201001%2F21%2FP201001210228.htm&amp;usg=AFQjCNH3TdEEswdS0PIsBu_Q0Evhh5YcjA">消防處二九年工作回顧</a><font size="-1" color="#6f6f6f"><nobr>香港政府資訊中心 (新聞發布)</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100121%2Fnews_20100121_55_642188.htm&amp;usg=AFQjCNGSKgWkDvJcMJRWTCSlvA9Zsudw6w"><nobr>香港電台</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fhk.apple.nextmedia.com%2Frealtime%2Fart_main.php%3F%26iss_id%3D20100121%26sec_id%3D6996647%26art_id%3D13649987&amp;usg=AFQjCNFi3Ibs96H2GFhbUOgKRISLkuDEJQ"><nobr>蘋果日報 (需訂閲)</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1402987%2F1.html&amp;usg=AFQjCNGUaqnOap4FhtMm0vcFu2xXpKVc0Q"><nobr>香港新浪網</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dufeb5lQGMt1ESMwsf0akfchHr1iM&amp;topic=h"><nobr><b>共有 16 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
簡訊:奧巴馬可能縮小醫改規模 - BBC中文網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fwww.bbc.co.uk%2Fzhongwen%2Ftrad%2Fworld%2F2010%2F01%2F100121_brief_abamahealthreformdown.shtml&usg=AFQjCNFLL-wHm1V_PzPcfv5k219n7jMACQ
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797371684066
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 10:28:38 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.chinatimes.com%2F2007Cti%2F2007Cti-News%2F2007Cti-News-Content%2F0%2C4521%2C110504%2B112010012100155%2C00.html&amp;usg=AFQjCNGeL6p8mJNTt0Hurdp_CryGTwPtWA"><img src="http://nt0.ggpht.com/news/tbn/kJrlvHuXI90t7M/0.jpg" alt="" border="1" width="80" height="58" /><br /><font size="-2">中時電子報</font></a></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.bbc.co.uk%2Fzhongwen%2Ftrad%2Fworld%2F2010%2F01%2F100121_brief_abamahealthreformdown.shtml&amp;usg=AFQjCNFLL-wHm1V_PzPcfv5k219n7jMACQ"><b>簡訊:奧巴馬可能縮小醫改規模</b></a><br /><font size="-1"><b><font color="#6f6f6f">BBC中文網</font></b></font><br /><font size="-1">美國總統奧巴馬表示,在關鍵的馬薩諸塞州參議員席位被共和黨奪走後,他可能縮小醫療改革計劃的規模。 奧巴馬在對參議院的講話中說,不能在新當選的共和黨參議員斯科特·布朗上任前強行通過醫改最終方案。 奧巴馬承認,這次參議員補選的結果和選民的憤怒和沮喪有關,他因此 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.cdnews.com.tw%2Fcdnews_site%2FdocDetail.jsp%3Fcoluid%3D109%26docid%3D101042769&amp;usg=AFQjCNGprzADB6-6hckS1mOOILIVfZYQ1Q">國際/麻州議員補選挫敗 歐巴馬坦承忽略人民心聲</a><font size="-1" color="#6f6f6f"><nobr>中央日報</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.chinatimes.com%2F2007Cti%2F2007Cti-News%2F2007Cti-News-Content%2F0%2C4521%2C50402682%2B132010012100980%2C00.html&amp;usg=AFQjCNE8z1jHq_9GhP1-CiYrbBYb7WlyvA">歐巴馬:體會到民主黨麻州敗選的民怨</a><font size="-1" color="#6f6f6f"><nobr>中時電子報</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1402900%2F1.html&amp;usg=AFQjCNFJZrE0vEjFJwAaNv-NgZ-0RNeW0g">奧巴馬為喪失參院絕對優勢承擔責任</a><font size="-1" color="#6f6f6f"><nobr>香港新浪網</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.sinchew.com.my%2Fnode%2F146823%3Ftid%3D2&amp;usg=AFQjCNEQ5mKl0ZIkEGI3QAi5e1RjNxXtOg"><nobr>星洲日報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.atchinese.com%2Findex.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D63825%3A2010-01-21-06-21-50%26catid%3D22%26Itemid%3D31&amp;usg=AFQjCNHzgdO-1feqAwm9wIRd22e91mhxOA"><nobr>亞洲時報在線</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.metroradio.com.hk%2F997%2FNews%2FDefault.aspx%3FNewsID%3Dc5554d40-249a-435f-9fb3-5b6f37425e59&amp;usg=AFQjCNGXk5kYZ3wI3mUvUfheMDEZJQ1iuA"><nobr>新城電台</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dvSPj7KkyontVBMzvkLHHoffkDBOM&amp;topic=h"><nobr><b>共有 131 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
男子非禮女兒判五年十個月 - 香港新浪網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403042%2F1.html&usg=AFQjCNHFFuzz-ZdeivzjwsHWbKaHex-T5A
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372410812
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 07:45:08 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403042%2F1.html&amp;usg=AFQjCNHFFuzz-ZdeivzjwsHWbKaHex-T5A"><b>男子非禮女兒判五年十個月</b></a><br /><font size="-1"><b><font color="#6f6f6f">香港新浪網</font></b></font><br /><font size="-1">一名61歲男子,承認非禮兩名親生女兒,今日在區域法院被判入獄5年10個月。 法官於判刑時斥責被告違反誠信,未有盡力保障受害人,只為滿足個人獸慾,罪行嚴重,必須嚴懲。 事發後,兩名女兒患上創傷後遺症,無法入睡,擔心再被侵犯。 案發於2001年至08年間,被告在家中多次 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100121%2Fnews_20100121_55_642167.htm&amp;usg=AFQjCNHm5oscca8b4aclzZiWbkAo_4rfeg">男子非禮2 名親生女兒法官指罪行嚴重判囚5 年10 個月</a><font size="-1" color="#6f6f6f"><nobr>香港電台</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.wenweipo.com%2F2010%2F01%2F21%2FIN1001210006.htm&amp;usg=AFQjCNHkUQtq-jlN0_36Rbma46vfZS0oZg">非禮「真空」晨運婦 運輸工囚28月</a><font size="-1" color="#6f6f6f"><nobr>香港文匯報</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fhk.apple.nextmedia.com%2Frealtime%2Fart_main.php%3F%26iss_id%3D20100121%26sec_id%3D6996647%26art_id%3D13650131&amp;usg=AFQjCNEC3GEn_8sdBCDTQyOkgxht9l4rXQ">獸父聲稱因好奇</a><font size="-1" color="#6f6f6f"><nobr>蘋果日報 (需訂閲)</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.hkcd.com.hk%2Fcontent%2F2010-01%2F21%2Fcontent_2466024.htm&amp;usg=AFQjCNENtSNa36HADUGU2n3c-eQNhJMxqQ"><nobr>香港商報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F32%2F1%2F1%2F1403038%2F1.html&amp;usg=AFQjCNFCspmrj8Xf1VX3qJOutpJwRAS0KA"><nobr>香港新浪網</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.rthk.org.hk%2Frthk%2Fnews%2Fexpressnews%2F20100120%2Fnews_20100120_55_641944.htm&amp;usg=AFQjCNFrrSq9HTSMMSs7243J4ATwSxKmAg"><nobr>香港電台</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=d-9HwdyXitYKbRMBvI35dfOpi9AdM&amp;topic=h"><nobr><b>共有 8 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
為引媒體關注恐怖份子轟陸軍總部 - 自由時報
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fiservice.libertytimes.com.tw%2FliveNews%2Fnews.php%3Fno%3D322838%26type%3D%25E5%259C%258B%25E9%259A%259B&usg=AFQjCNGiGdBDoIpkxCZiU4_VJpDWI3JnwQ
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372475351
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 11:16:38 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fiservice.libertytimes.com.tw%2FliveNews%2Fnews.php%3Fno%3D322838%26type%3D%25E5%259C%258B%25E9%259A%259B&amp;usg=AFQjCNGiGdBDoIpkxCZiU4_VJpDWI3JnwQ"><b>為引媒體關注恐怖份子轟陸軍總部</b></a><br /><font size="-1"><b><font color="#6f6f6f">自由時報</font></b></font><br /><font size="-1">〔本報訊〕泰國總理艾比希(Abhisit Vejjajiva)今(21)日證實,泰國陸軍總部在上週遭到恐怖份子的襲擊,艾比希指出,恐怖份子的行動應該只是想引起媒體的注意。 根據泰國媒體報導,這起攻擊事件,目標是泰國陸軍總司令阿努彭(Anupong Paojinda)的辦公室,歹徒使用的, <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F12%2F1%2F1%2F1403198%2F1.html&amp;usg=AFQjCNGLSMJLn3_ORiEDO8Qws7goztRztQ">泰國總理証實陸軍總部上周遭襲</a><font size="-1" color="#6f6f6f"><nobr>香港新浪網</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fudn.com%2FNEWS%2FWORLD%2FBREAKINGNEWS5%2F5380005.shtml&amp;usg=AFQjCNFhrroxIbMXHh5Vqk8F8H9JP759-w">泰總理證實陸軍總部上周遭攻擊</a><font size="-1" color="#6f6f6f"><nobr>聯合新聞網</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fhk.apple.nextmedia.com%2Frealtime%2Fart_main.php%3Fiss_id%3D20100121%26sec_id%3D10793140%26art_id%3D13651345&amp;usg=AFQjCNHIhAJVh_-oUpKX_VpmHj8iqzArNA">阿披實: 泰軍部上周遇襲</a><font size="-1" color="#6f6f6f"><nobr>蘋果日報 (需訂閲)</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F9%2F1%2F1%2F1402974%2F1.html&amp;usg=AFQjCNHl78I2TNOvxsyNTFwf6BwwutDJrg"><nobr>香港新浪網</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=dQVcU4s3ZWITAaMfIn3joNg-dPxNM&amp;topic=h"><nobr><b>共有 9 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<item>
<title>
廈門火車站將首次啟動電話訂票和流動售票車 - 香港新浪網
</title>
<link>
http://news.google.com/news/url?fd=R&sa=T&url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F9%2F1%2F1%2F1403243%2F1.html&usg=AFQjCNE2EVnTBXAEju7HKAIAgxAHRcdH-g
</link>
<guid isPermaLink="false">
tag:news.google.com,2005:cluster=8797372036902
</guid>
<category>
焦點新聞
</category>
<pubDate>
Thu, 21 Jan 2010 11:44:13 GMT+00:00
</pubDate>
<description>
<table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.tw%2Farticle%2F20100121%2F2713931.html&amp;usg=AFQjCNHOP0Lvb_1KDcoB7E4Av2mD_d_P1A"><img src="http://nt3.ggpht.com/news/tbn/R8taK9WHfDK01M/0.jpg" alt="" border="1" width="80" height="60" /><br /><font size="-2">臺灣新浪網</font></a></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F9%2F1%2F1%2F1403243%2F1.html&amp;usg=AFQjCNE2EVnTBXAEju7HKAIAgxAHRcdH-g"><b>廈門火車站將首次啟動電話訂票和流動售票車</b></a><br /><font size="-1"><b><font color="#6f6f6f">香港新浪網</font></b></font><br /><font size="-1">中廣網廈門1月21日消息(記者通訊員周溶冰) 今年春運期間,廈門火車站將首次啟動電話訂票和流動售票車,並開設68個售票窗口,全力確保春運鐵路運輸有序順暢。 今年春運40天里,廈門火車站預計發送旅客75萬人,同比增加5.09%,最高峰日預計發送4.2萬人左右。 <b>...</b></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fbig5.chinabroadcast.cn%2Fgate%2Fbig5%2Fgb.cri.cn%2F27824%2F2010%2F01%2F21%2F3365s2738570.htm&amp;usg=AFQjCNEkyhQ4FiJzO6t2FUFlDv-f_X1bgw">廣鐵開售春運火車票 訂票電話線路增七千條</a><font size="-1" color="#6f6f6f"><nobr>國際在綫</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.cna.com.tw%2FShowNews%2FDetail.aspx%3FpNewsID%3D201001210156%26pType0%3DaCN%26pTypeSel%3D0&amp;usg=AFQjCNHNf8aL0-orjiIITpS3ogQnSyNClA">今年中國鐵道春運旅客逾2億</a><font size="-1" color="#6f6f6f"><nobr>中央通訊社</nobr></font></font><br /><font size="-1"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fbig5.ce.cn%2Fxwzx%2Fgnsz%2Fgdxw%2F201001%2F21%2Ft20100121_20843433.shtml&amp;usg=AFQjCNEpDfajO0nJ9kKUkrL-ekUJkBJz6w">公安部社會治安&quot;冬季行動&quot;將專項打擊倒賣火車票</a><font size="-1" color="#6f6f6f"><nobr>中國經濟網</nobr></font></font><br /><font size="-1" class="p"><a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fbig5.xinhuanet.com%2Fgate%2Fbig5%2Fnews.xinhuanet.com%2Flife%2F2010-01%2F21%2Fcontent_12844476.htm&amp;usg=AFQjCNGa7z_gtqFU4zIC1H82DX80ohx7iA"><nobr>新華網</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fwww.sinchew.com.my%2Fnode%2F146819%3Ftid%3D2&amp;usg=AFQjCNGCkcRPCI-QUiAPyxqcmSnswYMHgQ"><nobr>星洲日報</nobr></a>&nbsp;-<a href="http://news.google.com/news/url?fd=R&amp;sa=T&amp;url=http%3A%2F%2Fnews.sina.com.hk%2Fcgi-bin%2Fnw%2Fshow.cgi%2F9%2F1%2F1%2F1403160%2F1.html&amp;usg=AFQjCNHnaIxIbkWA3xUfvHXYwk074CO_Fw"><nobr>香港新浪網</nobr></a></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com.hk/news/story?pz=1&amp;ned=hk&amp;ncl=d5FwzEvp_7RrAqMQWx7JN9xjlpr4M&amp;topic=h"><nobr><b>共有 323 篇相關新聞&nbsp;&raquo;</b></nobr></a></font></div></font></td></tr></table>
</description>
</item>
<description>
Google 新聞
</description>
</channel>
</rss>
Javascript (讀取 XML 檔案):
$(document).ready(function(){
var xml = $.ajax({
url: 'google_news.xml',
async: false
}).responseXML;
var $body = $("body");
$(xml).find("item").each(function(i){
var $item = $(this);
$body.append($("<p>").append($("<a>").attr({
href: $item.children("link").text()
}).text(i + 1 + ". " + $item.children("title").text())))
});
});
結果顯示在下面
1. 政府指五區總辭為政制發展設置新障礙 - 新城電台
2. 6個醃製食物樣本不合格 - 香港新浪網
3. 紐時網站 明年要收費了 - 世界日報
4. 海關檢盜版運程書拘七人 - 香港政府新聞網
5. 政府:不承認任何「公投」 - 香港新浪網
6. 去年火警召喚總數35771宗 - 香港新浪網
7. 簡訊:奧巴馬可能縮小醫改規模 - BBC中文網
8. 男子非禮女兒判五年十個月 - 香港新浪網
9. 為引媒體關注恐怖份子轟陸軍總部 - 自由時報
10. 廈門火車站將首次啟動電話訂票和流動售票車 - 香港新浪網 ;
從來也沒有想過可以這麼簡單
jQuery 真是一個好物
除了 XMLDocument Object 可以成功抽取裡面的原素外
原來純文字的 XML 也一樣沒有問題
Javascript (讀取文字):
$(document).ready(function(){
var xml = "<CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> </CATALOG>";
$(xml).find("CD").each(function(i){
$("body").append($("<p>").text($(this).children("TITLE").text()));
});
});
結果會將 Title 打印出來
是不是很簡單?
根本和我們平時使用 jQuery 操作 HTML DOM 沒有分別
相關書籍: