views-data-export-xml-body.tpl.php in Views data export 6.3
views-view-table.tpl.php Template to display a view as a table.
- $title : The title of this group of rows. May be empty.
- $rows: An array of row items. Each row is an array of content keyed by field ID.
- $header: an array of headers(labels) for fields.
- $themed_rows: a array of rows with themed fields.
File
theme/views-data-export-xml-body.tpl.phpView source
<?php
/**
* @file views-view-table.tpl.php
* Template to display a view as a table.
*
* - $title : The title of this group of rows. May be empty.
* - $rows: An array of row items. Each row is an array of content
* keyed by field ID.
* - $header: an array of headers(labels) for fields.
* - $themed_rows: a array of rows with themed fields.
* @ingroup views_templates
*/
foreach ($themed_rows as $count => $row) {
?>
<<?php
print $item_node;
?>>
<?php
foreach ($row as $field => $content) {
?>
<<?php
print $xml_tag[$field];
?>><?php
print $content;
?></<?php
print $xml_tag[$field];
?>>
<?php
}
?>
</<?php
print $item_node;
?>>
<?php
}