To exclude a specific parent page and its children from appearing in sitemap.xml, you need to configure Exclude Paths using the Apache Sling Sitemap - Scheduler.
You need to Include the parent page path (excluding .html) within the Excluded Paths configuration in the Scheduler Config. Additionally, Enable the "Generate Sitemap" option in the Page Properties, as it works only when the path itself is a Sitemap Root. This action will remove child pages as well.
Mahedi Sabuj

