The routine GXml.parse that I'm currently using parses the entire xml
file and creates a map point for each marker contained in the xml
file.
 Is there a way to filter out with a condition or another type of read
to select only the marker that matches an inputted value against the
string attribute called station?

GDownloadUrl("poixmls/firecompanies-google.xml", function(data) {

        var xml = GXml.parse(data);
        var markers = xml.documentElement.getElementsByTagName("marker");
        for (var i = 0; i < markers.length; i++) {
                  var station = markers[i].getAttribute("Station");

Thanks
TomP

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization 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-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to