Dear Oleg,
thanks to your reply.
I tried it out and got an error:
"The same table(node) cannot be the child table in two nested relations."
I think it will be better for me to read on some material about schema (like
that in w3schools.com)and come back then :-)
wkr: Wilhelm Pieper
"Oleg Tkachenko" <oleg@NO_SPAM_PLEASEtkachenko.com> schrieb im Newsbeitrag
news:eb**************@tk2msftngp13.phx.gbl...
...
Well, just define an element, which is able to contain elements with the
same name and type and that's it:
<xs:complexType name="nodeType">
<xs:choice>
<xs:element name="node" type="nodeType"/>
<xs:element name="leaf" type="xs:string"/>
</xs:choice>
</xs:complexType>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element name="node" type="nodeType"/>
</xs:sequence>
</xs:complexType>
</xs:element>