← Prev in month
← Prev in thread
Next in thread →
Next in month →
Redefining ComplexType
Hi all,
suppose the next:
<xs:complexType name="A">
<xs:sequence>
<xs:element name="a" type="xs:string"/>
.........
</xs:sequence>
</xs:complexType>
and we want to define some elements X, Y and Z. X, Y and Z only must differ in type of 'a' element. So what i need is to redefine the 'a' element of A type to get 3 news types (i.e. typeX, typeY and typeZ), where the structure and elements of A type will be maintained but the type of 'a' will be changed. Is there any way to get this using some kind of extension or something like that? I know that what i need can be reached defining three types separetely and that only differs on 'a' type but i want to know if there's a more "elegant" solution.
thnx in advance,
Jose Guillen.
suppose the next:
<xs:complexType name="A">
<xs:sequence>
<xs:element name="a" type="xs:string"/>
.........
</xs:sequence>
</xs:complexType>
and we want to define some elements X, Y and Z. X, Y and Z only must differ in type of 'a' element. So what i need is to redefine the 'a' element of A type to get 3 news types (i.e. typeX, typeY and typeZ), where the structure and elements of A type will be maintained but the type of 'a' will be changed. Is there any way to get this using some kind of extension or something like that? I know that what i need can be reached defining three types separetely and that only differs on 'a' type but i want to know if there's a more "elegant" solution.
thnx in advance,
Jose Guillen.
-- ____________________________________________________________________ | | | Jose Guillén | mailto:[email protected] | | Octalis S.A. | Tf: + 32 (0)10 45 81 99 | | 11F Avenue Albert Einstein | GSM: + 32 (0)473 56 17 25 | | 1348 Louvain-la-Neuve, Belgium | Fax: + 32 (0)10 45 57 29 | | URL: http://www.octalis.com | |____________________________________________________________________| +---------------------------- DISCLAIMER ----------------------------+ | "This e-mail and any attachments thereto may contain information | | which is confidential and/or protected by intellectual property | | rights and ar e intended for the sole use of the recipient(s) named | | above. Any use of the information contained herein (including, but | | not limited to, total or partial reproduction, communication or | | distribution in any form) by persons other than the designated | | recipient(s) is prohibited. If you have received this e-mail in | | error, please notify the sender either by telephone or by e-mail | | and delete the material from any computer. | | Thank you for your cooperation." | +--------------------------------------------------------------------+
← Prev in month
← Prev in thread
Next in thread →
Next in month →