0
我正在製作一個從XML/RSS訂閱源填充的組表格,我設法將數據解析到表格中,但還是陷入瞭如何使表分組?NSXMLParser:請求指導從RSS/XML訂閱源製作分組表格
即,我想要一個事件列表,並且我想組織事件,使用每個組的月份,我將如何實現這一目標?下面
是我的XML結構,其基本相當
<EventsUpcoming>
<Event id="1">
<month>July</month>
<title>Ian Moss</title>
<date>Saturday, July 1st</date>
<ticket>$35 On the door</ticket>
<description>
Ian Moss from Cold Chisel fame will be touring Australia and the only venue to secure him in Perth is the Blvd.
</description>
</Event>
<Event id="2">
<month>August</month>
<title>Cold Chisel</title>
<date>Saturday, August 3rd</date>
<ticket>$25 on the door</ticket>
<description>
From Khe San fame, Cold Chisel is back with the legendary Jimmy Barnes, dont miss out this gig. Its gonna go down in the books for sure!
</description>
</Event>
<Event id="3">
<month>September</month>
<title>Australian Crawl</title>
<date>Saturday, September 1st</date>
<ticket>Free</ticket>
<description>
They're one of Australia's most iconic band names, be sure to come down and check them out before they die.
</description>
</Event>
</EventsUpcoming>
如果有人知道這可能是如何去這樣做有用的或只是提示任何教程網站,thatd大加讚賞。在此先感謝:)
那麼你是說,我可以有一個「月」下的多個事件,然後只是數它們? – Andyy 2011-06-09 06:06:36