From list to urlset
You enter URLs one per line and, for any entry, can add three optional values: a last modified date, a change frequency, and a priority. Each entry becomes a <url> block inside the <urlset> root, which carries the sitemaps.org namespace so parsers recognize the document. Every loc is emitted as an absolute URL with reserved characters escaped, and attributes you leave blank are omitted entirely, which the protocol permits.