I've made this XSPF template, because I haven't found a proper other template in the forum.

CODE
$filename(%_workingpath%%_workingdir%.xspf,utf-8)<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>$replace(%_workingdir%,&,&amp;)</title>
<trackList>
$loop(%fieldname%) <track>
<title>$replace(%title%,&,&amp;)</title>
<duration>%_length_seconds%000</duration>
<trackNum>%track%</trackNum>
<album>$replace(%album%,&,&amp;)</album>
<creator>$replace(%artist%,&,&amp;)</creator>
<annotation>%comment%</annotation>
<location>$replace(%_filename_rel%,&,&amp;)</location>
</track>
$loopend()</trackList>
</playlist>


I only need somthing like %_length_miliseconds% to complete this template.
EDIT: I tried to upload this file but it failed.
(Hochladen fehlgeschlagen. Bitte weise den Administrator darauf hin, die Einstellungen und Berechtigungen zu ├╝berpr├╝fen)
Other files can be uploaded.