The second method is more useful when you need to customize the sitemap format according to your requirements (For e.g. Coveo search expect customized sitemap for better indexing). We had used the second approach in our AEM Guides project.
The second method is more useful when you need to customize the sitemap format according to your requirements (For e.g. Coveo search expect customized sitemap for better indexing). We had used the second approach in our AEM Guides project.