How can I tell I'm at the end of an array loop based on XPath?
I've only recently gotten into XML and XPath (loving it) but I'm stumped as to how I can determine if I'm at the end of a <cfloop> that is based on an array returned from an XPath. Here's my code
<cfloop array="#xmlSearch( application.config, '/environment/app/meta_data/meta_tags/tag[@name]' )#" index="i">
<cfset i = xmlParse( i )>
<cfoutput><meta name="#i.tag.xmlAttributes[ 'name' ]#" content="#i.tag.xmlAttributes[ 'content' ]#"></cfoutput>
<!--- How can I tell if I'm on the last iteration of this loop? --->
</cfloop>
