<?xml version="1.0" encoding="utf-8"?>
<categories xmlns="http://sixapart.com/atom/category#">
{foreach from=$categories item=category}
 <subject xmlns="http://purl.org/dc/elements/1.1/">{$category->getName()}</subject>
{/foreach}
</categories>