I'm trying to create an xml output of some items, which works perfect, though when i try to add a blabla tag in front of it fails.
I think it's rather easy, but I'm not able to find a solution.
the code i'm using:
let $data := content:sortContent(content:retrieveLastFM() union content:retrieveYoutube() union content:retrieveImgur() union content:retrieveFlickr() union content:retrieveNYTimes() union content:retrieveDiggTechnology() union content:retrieveDiggAmusement()),
$doc := <description>Blablabla</description> <items> {$data} </items>
return $doc
The following does work:
$doc := <items>{$data}</items>
Though I want a description in front of my list of items..
I hope you understand what I'm trying to reach here ;) Thanks in advance for any help!