Hi,
I have a question regarding DCT design:
What is the purpose of <container> elements named "IWSubElements"?
These containers are generated for instance when you use TS's "iwdtd2dct" CLT.
Here's a snipped from my DTD:
<!ELEMENT IDs (ID)*>
<!ELEMENT ID (#PCDATA)>
The resulting DCT code looks like this:
<container location="IDs" name="IDs">
<label>IDs</label>
<description/>
<container combination="and" location="" max="unbounded" min="0" name="IWSubElements">
<label>IWSubElements</label>
<description/>
<item name="ID" pathid="ID">
<label>ID</label>
<description/>
<text/>
</item>
</container>
</container>
Which looks overdone to me becaus it only adds another level of nesting which seems to be totally unnecessary (especially since it is displayed in the GUI and doesn't seem to have any added value to the DCT).
Couldn't the same be achieved with the following DCT code:
<container location="IDs" name="IDs">
<label>IDs</label>
<description/>
<item name="ID" pathid="ID">
<label>ID</label>
<description/>
<text/>
</item>
</container>
Thanks for your help and thoughts on this issue.
Tobias
PS: I am using TS 6.5 SP2 on Windows. The 6.5 TST documentation doesn't explain the function of these <container> elements properly.