This module uses CDATA for all tags' values. In fact, they are completely unnecessary except for highly unusual circumstances. Please see http://en.wikipedia.org/wiki/CDATA#CDATA_sections_in_XML for an explanation.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 6.x-1.1_add_cdata_wrapper_support.patch | 2.46 KB | agalitsyn |
| #3 | no_cdata.patch | 936 bytes | aren cambre |
| #1 | no_cdata.patch | 892 bytes | aren cambre |
Comments
Comment #1
aren cambre commentedPatch attached.
Comment #2
aren cambre commentedThis also appears to fix #494846: XML export pads all values with spaces. I don't know why!
Comment #3
aren cambre commentedMistake in original patch caused incorrect entity references. Fixed version attached.
Comment #4
neclimdulCommitted a modified version of this with the logic in the preprocess function. Thanks.
Comment #6
agalitsyn commentedCDATA can be needed for specific fields.
So I use a standart field option called "Element wrapper type" to add CDATA wrapper. Views have variable "views_field_rewrite_elements" which can be overriden with yours additional wrappers.
I add cdata using drush
And write come code to support this wrapper. (see patch)
Comment #7
neclimdul