One node documents list doesnbt map correctly

When i use pub.web:documentToRecord lists with one xml node do not map as a document list but as a document.

left - one element list
right - mutli element

how do i force it to map to a document list instead of a document so i can always iterate over the document list.

Victor,

In the documentToRecord service set makeArrays=true and in the Arrays (specify the doclistname say “ContEd”.This makes the document results show as doclist.

HTH,
RMG

If the above still didnt work then set makeArrays=false and specify the recordName(fully qualified record name).

sometimes nested loops causes this problems.

Please try either ways…

HTH,
RMG