I updated the previous sitemap.xml generator functionality with new support for sitemapindex with batching and bundling of different types of sitemap URLs. My current client has the need to manually add sitemap.xml entries as a supplement to the generated ones through an administrator interface; hence the bundling functionality. Source code at GitHub.