thanks for the explanation. yes i get that it's related how to call
data in xml with js.

On May 9, 2:09 am, Andrew Leach <[email protected]> wrote:
> On May 8, 6:23 pm, Jerry <[email protected]> wrote:
>
> > I get many samples about callingxmlattributes ingooglemaps;
>
> >   <marker name="Jackie" lat="37.427770" lng="-122.144841" />
> >   <marker name="Peter" lat="37.413320" lng="-122.125604" />
>
> > but I learnt it's not good to writexmlwith many attributes like
> > above, elements should be used instead of attributes, so could anybody
> > to give some explanation or samples about how tocallelements in
> >googlemaps?
>
> Using attributes is fine: you are specifying attributes of each
> marker. It's easier to use attributes if you always specify all of
> them, which it's probable you will. Separating out the data into
> elements is usually done where eachelementmight be missed out or
> repeated, which looks unlikely with the data you have. You might just
> as well carry on using attributes.
>
> Anyway, it's not 
> amapsquestion.http://www.google.co.uk/search?q=reading+xml+with+javascript
>
> --
> You received this message because you are subscribed to theGoogleGroups 
> "GoogleMapsAPI" group.
> To post to this group, send email [email protected].
> To unsubscribe from this group, send email 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-maps-api?hl=en.

-- 
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