<!--- Loop over the array using a ColdFusion's new Array iteration loop. This time, however, refer directly to the XmlChildren rather than treating the node name as if it were an array. ---> <cfloop index="xmlActor" array="#xmlActors.actors.XmlChildren#"> <!--- Output the data. ---> <p> #xmlActor.XmlAttributes.name# <!--- Check to see if date of birth is defined. ---> <cfif ( StructKeyExists( xmlActor.XmlAttributes, "dob" ) AND Len( xmlActor.XmlAttributes.dob ) )> (DOB: #xmlActor.XmlAttributes.dob#) </cfif> </p> </cfloop>