Hi:
GDownloadUrl("../output/search/results.xml", function
(data) {
503 var xml = GXml.parse(data);
504 var dataId =
xml.documentElement.getElementsByTagName("data_id");
505 for (var i = 0; i < dataId.length; i++) {
506 var di = dataId[i];
507 document.write(di);
508 // alert(di);
509 }
510 // alert(dataId);
511 // print(dataId);
512 }
trying to parse this xml document and print out to html / alert /
whatever - no success
this is the format of the xml:
<?xml version="1.0" encoding="UTF-8"?><database>
<select>
<row>
<data_id>5310482</data_id>
</row
</select>
</database>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---