我有一个包含数据的 XML 文件,并希望将具有相同日期的项目放入其中,例如 DIV 标记。
我想要的是按日期对版本进行分类,并捆绑所有具有相同日期值的项目/版本。
这可能吗?
XML 代码:
<edition>
<id>116853</id>
<name>First Round - Summervibes Edition</name>
<date>08-06-2012</date>
<time>19:30</time>
<location>
Prins Alexanderlaan 37, Rotterdam, The Netherlands
</location>
<venue url="http://www.betribes.com/venues/club-eclipse" id="24079">Club Eclipse</venue>
<lineup>Kleine Viezerik, Kid Kaio, DJ Goine</lineup>
<entrance_fee>€11,–</entrance_fee>
<music>Club House, House, R&B</music>
<hot_party>false</hot_party>
<website_link>http://club-eclipse.nl</website_link>
<clubjudge_link depricated="true">
http://www.betribes.com/editions/first-round-summervibes-edition
</clubjudge_link>
<edition_link>
http://www.betribes.com/editions/first-round-summervibes-edition
</edition_link>
<image_flyer_front>
http://s3-eu-west-1.amazonaws.com/btrb-prd-flyers/ye29ys93be98.jpg
</image_flyer_front>
<image_120x120>
http://s3-eu-west-1.amazonaws.com/btrb-prd-flyers/ye29ys93be98-a_thumbnail-120x120.jpg
</image_120x120>
<excerpt/>
<tickets>
<ticket>
<price>11.0</price>
<name>Ticketscript</name>
<url>
https://shop.ticketscript.com/channel/web2/start-order/rid/DFEG5RE7/language/nl
</url>
</ticket>
</tickets>
</edition>