Hi Mike,

It doesn't have anything to do with my original question. Hence the

"The problem, as I've surmised, is not variable scope." statement I
made in a previous post.

I understand that sites[j] is an XML Element. However, if I replace
sites[j].firstChild.data + "\<br\>"; with a simple string that does
not access the XML doc at all, it still doesn't work. Therefore, in my
humble opinion, I would say that there is something going on in the
loop that is wrong besides the XML parsing business.

Here's the loop as it stands now

                for (var j = 0; j < sites.length; j++) {
                        InfoWin_html += "jeremy";
                }

Still no luck. If I comment out the loop completely I CAN see the
HTML. THere's something about that darmed loop that is killing me, but
I simply can't tell what it is.

Thanks again,

Jeremy

On May 13, 11:40 am, Mike Williams <[email protected]> wrote:
> Wasn't it JeremyF who wrote:
>
>
>
> Mike,
>
> >You must have tried it when I was in the middle of debugging. I was
> >testing a bunch of features. I'd have to leave it the way it is right
> >now for you to try it. I will for a while if you'd like to test it in
> >its current state, so you can see what's happening.
>
> >The problem, as I've surmised, is not variable scope. I've narrowed it
> >down to the loop
>
> >               for (var j = 0; j < sites.length; j++) {
> >                       InfoWin_html += sites[j].firstChild.data +
> >"\<br\>";
> >               }
>
> sites[j] is an XML Element. You have to GXml.parse() it to obtain
> something that cam be +='d to a String, but I can't see what that has to
> do with what you were originally asking about.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to