NodeJS, Wappler 6.8, Mac M1 Max, Docker
I am trying to create a dynamic sitemap, and have it almost perfect, here is my server action.
It outputs a file like this
<?xml version="1.0" encoding="UTF-8" ?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc><![CDATA[https://www.example.com/]]></loc><priority><![CDATA[1.0]]></priority><changefreq><![CDATA[monthly]]></changefreq><lastmod><![CDATA[2025-05-20]]></lastmod></url><url><loc><![CDATA[https://www.example.com/about-example-company/]]></loc><priority><![CDATA[1.0]]></priority><changefreq><![CDATA[monthly]]></changefreq><lastmod><![CDATA[2024-07-04]]></lastmod></url></urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
Which is almost perfect, Google is quite fine by the looks of it with all the CDATA
stuff, but the closing </urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
at the end I have to manually change to rather be a normal close like </urlset>
Is this possibly a bug @Teodor