Hello,
Thank you for this performant module, so easy to use.
I tested and found some problems :
For XML output :
Attached file is exportCourt.txt (I changed from .xml to .txt because .xml is not accepted in this forum upload configuration).
When having multiple values cck fields, it's not working well if I have more than 1 value.
First node <Autres-communes> is KO.
Second node <Autres-communes> is OK because just 1 value
Besides I have a problem with accentuation in labels. See <Itin-raire> instead of Itinéraire. (Variables accentuation is OK.)
And last, I have problems with html tags. See <Itin-raire><p>A Eisten....
For XLS output :
I just have the problem of multiple values. See ExportCourt.xls.
I don't know how we can represent a multiple value in a xls file. In some case, I think we can all all values in same cell, separated by a comma. In other cases, I believe as many columns as values are needed.
What do you think?
Links to nodes are here
Xml file is not representing exactly nodes because I worked on an old local backup and I changed xml to have problems condensed in just 2 nodes.
| Comment | File | Size | Author |
|---|---|---|---|
| exportCourt.xls | 7.82 KB | sahuni | |
| exportCourt.txt | 1.81 KB | sahuni |
Comments
Comment #1
sahuni commentedIs there a solution for that problem?
Comment #2
sahuni commentedNo solution, indeed?
Comment #3
honza pobořil commentedYes, there are solution. If the field is multiple, rendered XML tags should be rendered more times, one same tag for one value.
BTW, this way is compatible with import by Feeds XPath parser.
Comment #4
sahuni commentedYes I agree it should. But actually it does not.
Did you succeed to do that? without modiying the code? or patching? or is it just a wish?
Comment #5
honza pobořil commentedIn my opinion, this feature requires code changes. Where is the problem?
Comment #6
steven jones commentedThis is feature request then. Feel free to provide the patch.
Comment #7
Anonymous (not verified) commentedI've solved this need by using templates : views-data-export-xml-body.tpl.php and template.php.
views-data-export-xml-body.tpl.php
This is a quick fix to skip array tag by not printing it when encountered :
template.php
Override the function theme_content_view_multiple_field() in your theme's template.php (from http://drupal.org/node/556232#comment-1957166). Don't forget to empty cache !
At least, I did not give enough time to find why the array tag appear.
Comment #8
jrz commentedSub...
Comment #9
johnvSee attached issue.