Hmm I can't post in the forum for stand alone version!
My problem is that I can create the sitemap with out errors being generated by the script. To the human eye the sitemaps seem ok, but when I submit /sitemap.xml to google it reports that sitemap.xml has errors e.g.;
We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.
An invalid date was found. Please fix the date or formatting before resubmitting.
Invalid tag value
This XML tag has an invalid value. Please fix it and resubmit.