loadxml error

When using the Folder example code I continue to get this error.





Error type: LoadXML

Description: Incorrect XML



When I run the getphotos.php script it produces an XML output like this



<?xml version="1.0" encoding="iso-8859-1" ?>

-

-

15595

2008-10-10 15-57-46



-

15942

2008-10-10 15-57-46



-

18637

2008-10-10 15-57-46



-

41809

2008-10-10 15-57-46



-

25293

2008-10-10 15-57-46



-

12515

2008-10-10 15-57-46



-

12438

2008-10-10 15-57-46



-

28416

2008-10-10 15-57-46



-

25836

2008-10-10 15-57-46



-

26762

2008-10-10 15-57-46



-

27690

2008-10-10 15-57-46



-

22213

2008-10-10 15-57-46



-

21889

2008-10-10 15-57-46



-

14163

2008-10-10 15-57-46



-

17249

2008-10-10 15-57-46



-

13254

2008-10-10 15-57-46



-

19573

2008-10-10 15-57-46



-

29395

2008-10-10 15-57-46







Does anyone have a clue what is wrong with the XML output?



Thanks



Paulie


Please, check that content type is correct - text/xml.


Also folders require using xsl transformation. The result of this transformation must be correct xml document.