Just set maxOccurs to 10. Repeat reference is only for the rare cases when you need get the number of occurrences from a previous field in the message.
I am creating a message set of TDS type. I have group of elements which will be repeating. They will be repeating fixed number of times(Say 10 times).
I have created these elements under grou ...