Model view and labels are not displayed correctly I created a model view and labels are not displayed correctly when I export with the module: "Views data export". 

Here are the contents of my model views-view-field--sitemap--views-data-export--field-image.tpl.php :

&lt;?php

$fields["field_image"]-&gt;content = '&lt;image:loc&gt;' . $field-&gt;original_value . '&lt;/image:loc&gt;';

echo $fields["field_image"]-&gt;content;


the result is :

&amp;lt;image:loc&amp;gt;http://www.domaine.com/xxx.jpg&amp;lt;/image:loc&amp;gt; 

instead of :

&lt;image:loc&gt;http://www.domaine.com/xxx.jpg&lt;/image:loc&gt;
You're trying to change the content of your XML to provide structural changes to the XML document. This content is escaped so it doesn't break the XML document.

If the whole goal of theming is set your XML image field to a image:loc element, you should just change add a Label to your field with it set to "image:loc". This will render the XML document image field as an image:loc element.