|
Rank: Advanced Member
Joined: 1/23/2016 Posts: 54
|
Hi,
how to generate multiple outputs (maxOccours="unbounded") from a single iput (maxOccours="1") ? Is there any "add new element to output" ?
Task: the input represents a single element. Using rules should be generated several output elements. The count of elements is determined during the transformation.
How to do it ?
Thanks a lot in advance ,
Michel
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
There is a function generate-sequence which allows you to produce multiple results dynamically
|
|
Rank: Advanced Member
Joined: 1/23/2016 Posts: 54
|
Vlad: thanks a lot, especially for your effort on the weekend.
Just a question: I have an array of integer, but how to create the elements (complex type ) to each of them ?
Thanks,
Michel
|
|
Rank: Advanced Member
Joined: 6/16/2006 Posts: 487 Location: AT
|
Maybe the function replicate-item is what you need.
|
|
guest |