W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2001

Deriving complex types by restriction

From: Cristina Pava/CanWest/IBM <cpava@ca.ibm.com>
Date: Mon, 11 Jun 2001 19:02:12 -0400 (EDT)
To: xmlschema-dev@w3.org
Message-ID: <OFC0E3BBAF.07A199B1-ON88256A68.0066EF7C@mkm.can.ibm.com>
My base complex type is the SOAP-ENC:Array , which is based on a element
group (of any)
and 2 attribute groups, all defined globally in the SOAP schema and
referred by the Array type..
I would like to have a derived type that would have a particular value for
the arrayType attribute,
which is part of one of the attribute groups.
This looks like derivation by restriction, so do I have to repeat all the
definitions for attribute groups ?
what if I would like to restrict the type of elements, from any to more
specific, like <name>

Thank you ,

Cristina Pava
eBusiness Solutions
IBM Pacific Development Center
4611 Canada Way, Burnaby, BC  V5G 4X3
tel: (604) 297-3249  fax: (604) 297-3040
cpava@ca.ibm.com
Received on Tuesday, 3 July 2001 08:51:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:22 GMT