On Thu, 07 Oct 2004 16:36:33 -0400, Britta Bennett
<[EMAIL PROTECTED]> wrote:
> Ok, I've got the tag installed, now there's only one thing standing in my
> way:
>
> The xml data is dumped here:
> http://realtorwebsites.ca/admin/CFX_XMLParser/example.cfm
>
> The listings listed by the xml as follows:
> #myVariable.ResidentialProperty.Listing....
> #myVariable.ResidentialProperty.Listing2...
> #myVariable.ResidentialProperty.Listing3... etc. etc.
>
> What I'm trying to do is write a *simple* loop to pull up every listing on
> the page and run through all the data one listing at a time so I can process
> and output to the database. The problem I'm having is that because the
> #myVariable.ResidentialProperty.Listing.StreetAddress.INNER_TEXT# is already
> a variable, I can't figure out how to ammend the Listing. to Listing2,
> Listing3 etc as the loops go by.
>
> <!------- start looping through the listings -------->
> <cfset count ="">
> <cfloop from="1"
> index="#myVariable.ResidentialProperty.Listing.ListingID.INNER_TEXT#"
> to="#myVariable.ResidentialProperty.QueryStatistics.TotalResults.INNER_TEXT#">
>
> Street Address
> #myVariable.ResidentialProperty.Listing(#count?#).StreetAddress.INNER_TEXT#
>
> <cfif Count IS ""><cfset Count = 1></cfif>
> <cfif Count IS "1"><cfset Count = Count +1></cfif>
>
> </cfloop>
> </cfoutput>
>
> If anyone might be able to tell me how to solve this, I'll finally be home
> free.. Thank you very much for any assistance.. very much appreciated!
>
> Cheers,
> Britta________________________________
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

