I've created views as XML data document using Views Datasource which looks like:

<?xml version="1.0" encoding="utf-8"?>
<title>My title</title>
<field_feed_description>My description</field_feed_description>

How do I now change generated XML name tags?

For example I want to rename field_feed_description name into something else.


On the Views UI tick the Create a label checkbox and enter in your element name in the Label textfield. The value of Label will be used for the element name.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.