@lukwe: Try it without setting the page to be xml.
That’s how I get to see the error:
[tt]PHP error debug
Error: explode() [function.explode]: Empty delimiter.
Error type/ Nr.: Warning - 2
File: /user0/htdocs/modx/manager/includes/document.parser.class.inc.php(724) : eval()’d code
Line: 195[/tt]
If I leave it as xml I only get a blank/empty page.
If I make the same Ditto call from a regular HTML page with template and no
[tt]<?xml version="1.0" encoding="UTF-8"?>..[/tt] stuff, I do get the output.
The Ditto call is: [tt][[Ditto?parents=`15,258`&tpl=`DittoSitemap`&dateSource=`editedon`&display=`all`&sortBy=`createdon`&depth=`4`&showInMenuOnly=`1`]][/tt]
the DittoSitemap chunk is:
[tt]<url>
<loc>[(site_url)][~[+id+]~]</loc>
<lastmod>[+date+]</lastmod>
<priority>[+priority+]</priority>
</url>[/tt]