Ray, Thanks for the suggestion on keys being available as array under the node. I was able to get the values for duplicate keys. Below is the code I used, I guess it can be improved upon
<cfloop index="x" from="1" to="#arrayLen(xmlResult.rss.channel.item)#"> <cfset valueList = ""> <cfset count = 0> <cfset idx = xmlResult.rss.channel.item[x]> <cfset keys = #StructKeyList(idx)#> <cfset keys = ListSort(keys,"textnocase","asc",",")> <cfloop list="#keys#" index="key"> <cfif key EQ "npr:rmaudio"> <cfset count = count + 1> <cfif valueList EQ ""> <cfset valueList = #idx[key][count].XmlText#> <cfelse> <cfset valueList = valueList & "," & #idx[key][count].XmlText#> </cfif> </cfif> </cfloop> </cfloop> On Wed, Dec 5, 2012 at 2:54 PM, Raymond Camden <raymondcam...@gmail.com>wrote: > > It should be available as an array under the node. Can you share the full > URL of the feed? If so I can make a demo for you. > > > On Wed, Dec 5, 2012 at 2:41 PM, fun and learning <funandlrnn...@gmail.com > >wrote: > > > <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&url=http://www.npr.org/templates/story/story.php?storyId=89862645&ft=1&f=2 > > </link> > > <guid> > > > http://www.npr.org/templates/story/story.php?storyId=89862645&ft=1&f=2 > > </guid> > > <npr:wmaudio> > > > http://www.npr.org/templates/dmg/dmg_wmref_em.php?id=89863241&type=1&date=22-Apr-2008&mtype=WM > > </npr:wmaudio> > > <npr:rmaudio> > > > http://www.npr.org/templates/dmg/dmg_rpm.rpm?id=89863241&type=1&date=22-Apr-2008&mtype=RM > > </npr:rmaudio> > > <npr:rmaudio> > > > http://www.npr.org/templates/dmg/dmg_rpm.rpm?id=89863241&type=21&date=22-Apr-2008&mtype=RM > > </npr:rmaudio> > > </item> > > > > > > -- > =========================================================================== > Raymond Camden, Adobe Developer Evangelist > > Email : raymondcam...@gmail.com > Blog : www.raymondcamden.com > Twitter: cfjedimaster > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:353369 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm