This is a demonstration of an XML sitemap served by an on-demand builder function with regex routing via an edge function.
Deploy the site to Netlify:
Observe that any pages matching the regex in the edge function are rewritten to the builder function, which serves XML with a timestamp to demonstrate the revalidate period.