06100ca6dd
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled
- Changed the encoding in the XML declaration from "UTF-8" to "utf-8" for consistency. - Replaced StringWriter with XmlWriter to enhance XML document writing and ensure proper encoding settings. - Updated the return statement to convert the MemoryStream to a UTF-8 string, improving the efficiency of the sitemap generation process. These changes enhance the reliability and correctness of the sitemap generation, ensuring better compliance with XML standards.