Hi All -

I am parsing rss feed. The feed has custom data and custom data can have 
duplicate attributes. I am following the example at 
http://www.raymondcamden.com/index.cfm/2008/4/23/Ask-a-Jedi-Handling-RSS-feeds-with-custom-data.
 For example if the feed has following data, and the last custom attribute 
npr:rmaudio is defined twice but with different values. How can I get those two 
values. Currently, I am able to get the first value only.

<item>
<title>Pennsylvania Primary Roundup</title>
<description>Barack Obama improved his showing among white, middle-class 
voters, but not enough to beat Hillary Clinton in the Pennsylvania primary on 
Tuesday. NPR's National Political Correspondent Mara Liasson analyzes the race 
with Robert Seigel.</description>
<pubDate>Tue, 22 Apr 2008 21:53:01 -0400</pubDate>
<link>http://www.npr.org/stations/force/force_localization.php?station=KSJD_FM&amp;url=http://www.npr.org/templates/story/story.php?storyId=89862645&amp;ft=1&amp;f=2</link>
<guid>http://www.npr.org/templates/story/story.php?storyId=89862645&amp;ft=1&amp;f=2</guid>
<npr:wmaudio>http://www.npr.org/templates/dmg/dmg_wmref_em.php?id=89863241&amp;type=1&amp;date=22-Apr-2008&amp;mtype=WM</npr:wmaudio>
<npr:rmaudio>http://www.npr.org/templates/dmg/dmg_rpm.rpm?id=89863241&amp;type=1&amp;date=22-Apr-2008&amp;mtype=RM</npr:rmaudio>
<npr:rmaudio>http://www.npr.org/templates/dmg/dmg_rpm.rpm?id=89863241&amp;type=21&amp;date=22-Apr-2008&amp;mtype=RM</npr:rmaudio>
</item> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to