- From: Mukul Gandhi <mukulg@softwarebytes.org>
- Date: Wed, 14 Jul 2021 17:25:14 +0530
- To: xmlschema-dev@w3.org
Received on Friday, 16 July 2021 07:19:02 UTC
Hi all,
XSD language already provides, for union syntax for the simple types as
follows,
<!-- here the XSD language already provides, that Type1 and Type2 can only
be simple types -->
<xs:simpleType name="ST1">
<xs:union memberTypes="Type1 Type2" />
</xs:simpleType>
I propose, a similar new facility for XSD complex types, as follows,
<!-- Type3 and Type4 can be any complex types -->
<xs:element name="X">
<xs:complexType>
<xs:union memberTypes="Type3 Type4" />
</xs:complexType>
</xs:element>
Any thoughts shall be interesting to know.
--
Regards,
Mukul Gandhi
Received on Friday, 16 July 2021 07:19:02 UTC