Could not understand your issue as you have written the DCT, so it will automatically generate the DCR.
item name=sectionitem name=bodyitem name=paragraph/item name=img/item name=paragraph/item name=heading/item name=paragraph/Lee C
...then have to use XML:OM in order...
Could you please post your complete requirement specification as what exactly is needed? Still to mention ... no one on devnet does the code for you. It is always better to do that on your own... just go through the manuals. Any help asked would be appreciated.
Here's the outline of what you need in your DCT...<item name="section"></item><item name="body"> <replicant max="x" min="x" default="x" combination="or"> <item name="paragraph"></item> <item name="img</item> <item name="heading"></item> </replicant></item>
I'd like a single body element with the other elements enclosed.I'm experimenting with recursive itemref but I'm getting multiple bodies which are embedded within each other !!Cheers Lee C