> var xml = GXml.parse(data);
> var markers = xml.documentElement.getElementsByTagName("marker");
> for (var i = 0; i < markers.length; i++)
> {
> var x= markers[i].getElementsByTagName("x")
> [0].firstChild.nodeValue;
> ...
>
> The firstChild of the x element is the text node containing the
> string. That's untested as I don't have a relevant XML feed
> conveniently to hand.
>
no problem, i will test it on my machine.
the problem is, that i have to read in some xml file data, where the
structure is more deeper than useful ... nodes,
childnodes,grandchildnodes mixed with attributes. and the server
environment doesn't allow the xml transformation with php5
functions ...
so, thanks for your help.
any other advices are still appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---