Copy link to clipboard
Copied
Can anyone help me make this loop work.
This is how my structure is created:
<cfset resData = ConvertXmlToStruct(gatewayResponse.Filecontent, StructNew())>
<cfset resTran = 'resData.Body.PosResponse.Ver1.0.Transaction.ReportBatchHistory.Details'>
<cfloop index="idx" from="1" to=#StructCount(resTran)# step="1">
more cf code....
</cfloop>
Here is the structure:
I thank you in advance.
Have something to add?