On Apr 21, 6:56 am, mmitchell <[email protected]> wrote:
> I don't think I can use .getAttribute("lat") because my xml doesn't
> use attributes. Here is a link to my xml. What do you think?

No.  You are using element text not attributes.  You would use
getAttribute for xml that looks like this:
<site lat="12.12" lon="123.34" >

See my answer above.

 -- Larry

>
> http://urwa.org/stewardship/genxml.xml
>
> On Apr 20, 6:38 pm, Rossko <[email protected]> wrote:
>
> > > I think this line causes the issue -
> > >     var name = psite[i].childNodes[0].text
>
> > umm, well it is that - but nowt to do with semicolons....
>
> > .text is IE-specific XML property and fails in Mozilla.
> > See -
> >  http://www.hiteshagrawal.com/javascript/javascript-parsing-xml-in-jav...
> > and compare .text and textContent
>
> > Your best fix is to use the browser-independant methods already
> > supplied in the API, see -
> >    http://econym.org.uk/gmap/basic3.htm
>
> > cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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