How to use sitemap using OOTB sitemap generator on AEM 6.5.12
I'm trying to generate on demand sitemap generation on AEM 6.5.12. I tried going through the video that is provided by Adobe
https://experienceleague.adobe.com/docs/experience-manager-learn/sites/seo/sitemaps.html?lang=en
Over there they have showed that after doing certain simple configurations like checking the checkbox with on demand and then going to the page under which we want sitemap to be generated we can again use checkbox to select in page properties.

and then if we enter the page url with .sitemap.xml it should show the sitemap for that specific page hierarchy in xml format
After trying those steps I'm getting all the paths but not in xml
I followed https://www.theaemmaven.com/post/aem-apache-sling-sitemap
which talks about sling bundle that is ootb open source sling project that is getting used to achieve the functionality and when I ran the bundle in debug mode. I found that it is also just sending back traversed path. I'm looking out if I'm doing something wrong because I don't want to depend on custom solution to generate xml out of those path unless we don't have OOTB way to achieve it.
Do let me know if someone has implemented it