Howdy - Thanks for providing this module!

Simple enough task, to match an existing XML file, I'm needing to remove the "Root node" from the outputted xml code of a view. So the change would go from:

nodes
node
link
/node
/nodes

To:

node
link
/node

Under the settings, is there any string or phrase you can put in "Root Node" to make it not output? (Like "none", for example?) - Not sure if that's at all configurable.

I've gone into the template and see I can just remove the "php print $root_node" references in the header and footer for views-data-export-xls-header.tpl.php and views-data-export-xml-footer.tpl.php - but wondering if there's a better practice there, or if that could be problematic. Thanks in advance.

Comments

Anonymous’s picture

hi, have you found a solution?

Thanks!