{strip}
<export>
    <export_datetime>{$datetime}</export_datetime>
    <export_unixtime>{$U}</export_unixtime>
    <form_info>
        <form_id>{$form_id}</form_id>
        <form_name><![CDATA[{$form_name}]]></form_name>
        <form_url>{$form_url}</form_url>
    </form_info>
    <view_info>
        <view_id>{$view_id}</view_id>
        <view_name><![CDATA[{$view_name}]]></view_name>
    </view_info>
    <submissions>
        {foreach from=$submissions item=submission name=row}
            <submission>
            {foreach from=$display_fields item=field_info name=col_row}
                {assign var=col_name value=$field_info.col_name}
                {assign var=value value=$submission.$col_name}
                <{$col_name}><![CDATA[{smart_display_field form_id=$form_id 
                    view_id=$view_id submission_id=$submission.submission_id
                    field_info=$field_info field_types=$field_types
                    settings=$settings value=$value}]]></{$col_name}>
            {/foreach}
        </submission>
        {/foreach}
    </submissions>
</export>
{/strip}