Got it but, I went another route...  XmlSearch is the bomb!

<cffile action="READ" file="#ExpandPath("PathToXml/XML/slideshow_84.xml')#"
variable="GalleryXML">
<cfset galleryObject = xmlParse(GalleryXML, FALSE)>
<cfset arrResult = XmlSearch(galleryObject,"//album/")>
<table border="1" cellpadding="2" cellspacing="0">
 <cfoutput>
 <cfloop index="e" from="1" to="#ArrayLen(arrResult)#">
 <tr>
    <td>#e#</td>
    <td>#arrResult[e].XmlAttributes.title#</td>
    <td colspan="3">#arrResult[e].XmlAttributes.description#</td>
 </tr>
  <cfset arrImgResult = XmlSearch(galleryObject,"//album[#e#]/img")>
  <cfloop index="i" from="1" to="#ArrayLen(arrImgResult)#">
    <tr>
    <td>#arrImgResult[i].XmlAttributes.src#</td>
    <td>#arrImgResult[i].XmlAttributes.caption#</td>
    <td>#arrImgResult[i].XmlAttributes.title#</td>
    <td>#arrImgResult[i].XmlAttributes.tn#</td>
    <td>#arrImgResult[i].XmlAttributes.date#</td>
    </tr>
   </cfloop>
 </cfloop>
 </cfoutput>
</table>



Casey


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263534
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to