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.;
49934
Parsing error
We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.
49705
Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.
49706
Invalid tag value
This XML tag has an invalid value. Please fix it and resubmit.
and more