Posted: Wed May 04, 2016 12:46 am Post subject: Grouping in DFDL.
Novice
Joined: 26 Apr 2016 Posts: 19 Location: Bangalore
Hi,
I'm new to DFDL and I'm working on fixed length format. In my requirement, certain elements will be repeated up to 10 times. For that I have created a group. Now how to add multiple occurrences for the same group.
Posted: Wed May 04, 2016 12:51 am Post subject: Re: Grouping in DFDL.
Partisan
Joined: 17 Apr 2014 Posts: 358
Kazim_Baig wrote:
Hi,
I'm new to DFDL and I'm working on fixed length format. In my requirement, certain elements will be repeated up to 10 times. For that I have created a group. Now how to add multiple occurrences for the same group.
Use the minOccurs and maxOccurs to specify the number of times the group repeats itself.
ÃŒn DFDL, a sequence group must have maxOccurs=1. It is not allowed to repeat. If you want a sequence of elements to repeat, you must wrap them in an element declaration.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum