- From: Arasu, Ananda <ananda.arasu@digital.com>
- Date: Tue, 19 Nov 2002 11:31:15 -0500
- To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Received on Tuesday, 19 November 2002 11:40:51 UTC
Hi XML Schema Team, In EDI-X12, there is a concept called conditional requirements. For instance, <complexType name="AccountInformation"> contains the following elements 1. AccountNumber 2. Name 3. IdentificationCodeQualifier 4. IdentificationCode 5. AccountNumberQualifier 6. AccountNumber 7. Description 8. PaymentMethodCode 9. BenefitStatusCode </complexType> Here I need the following conditional requirements (1) if 05 is present 06 must be as well. (2) if 07 is present 05 must be as well. (3) if any one of 03, 05 is present then all must be present. It could be useful if you provide a straight forward facility to specify conditional requirements in XML Schema V1.1 Regards, Arasu. B. Ananda Arasu, Digital GlobalSoft Ltd. (A subsidiary of Hewlett-Packard Co., USA) 1b74bd.gif
Received on Tuesday, 19 November 2002 11:40:51 UTC