On Nov 28, 1:13 am, ianhg <[email protected]> wrote:
> Thanks Guys It's working OK Now
> Just in case anyone else reads this I changed //Start xml file
> $dom = new DOMDocument ("1.0");
> $node = $dom->createElement("markers"); Changed to" marker" through
> this script fixed. Thanks again for the help appreciated.
It might work; it's still invalid XML because the root node must be
unique.
These lines were actually correct:
//Start xml file
$dom = new DOMDocument ("1.0");
$node = $dom->createElement("markers");
These lines were wrong:
//iterate through rows, adding xml nodes for each
while ($row = @mysql_fetch_assoc($result)){
$node = $dom->createElement("markers");
That last line should create "marker".
Andrew
--
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.