On Nov 28, 1:13 am, ianhg <ia...@easzy.co.uk> 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 google-maps-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to