When selecting the field output as normal instead of raw all the nested element tags have no names.

E.g. Output is

<?xml version="1.0" encoding="utf-8"?> <nodes> <node> <> <![CDATA[Competition Winners!]]> </> <> <![CDATA[22 Dec 2009 - 3:12pm]]> </> </node>...
CommentFileSizeAuthor
#1 label.patch837 bytesjdelaune

Comments

jdelaune’s picture

Title: Issues with no tag names in XML output » Fallback for no labels set
StatusFileSize
new837 bytes

Sorry my mistake. I usually delete the 'label' fields in views, which is why there was no data. Maybe a fallback would be best?

Patch attached.

allisterbeharry’s picture

Assigned: Unassigned » allisterbeharry

That's a good idea, thanks. I'll include it in the next release.

kenorb’s picture

Assigned: allisterbeharry » Unassigned
Issue summary: View changes
Status: Active » Needs review
jacob.embree’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Fixed

This is fixed. The fix is in template_preprocess_views_views_xml_style_raw() now rather than in a template.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.