Project:Views data export
Version:7.x-3.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

First of all thanks for this module.
It's working great for some of my priojects.

Now I am looking for a feature I have not found in this module.

I would lik to add anattribute to the items.

node title

Comments

#1

I would like the xml rows to have attributes.

<nodes>
<node ID="custom id">   (maybe a token as custom id?)
</node>
</nodes>

#2

It doesn't seem that there is any way to create an XML document with attributes for D7 using any contributed module, including this one. If I'm wrong, please correct me. Services Views does something similar to this module, you can output xml with no attributes. You also don't have any control in terms of nesting. I'm thinking that I might have to just output the fields I want in a view, and then use a combination of the views pre render hook along with templating.