After posting the latest version of the Google Sitemap Generator for the catalog products there have been several people request that I also post the one for categories.
So, I have also posted the latest sitemap script for the categories on Digital Point forum as well!
I posted the code inline with the post so that you can inspect it and see how it works. However, I have also attached the file so as to eliminate copy-and-paste errors that will inevitably occur.
If you register on the forum to directly download the file be sure to fill in my screen name (Chemo of course!) so that they know who sent you :-)
Get the new script here: Google Sitemap Generator v1.1 - Categories