Re: How to extend an attribute group with another group

> What is the easiest way to extend an attribute group with another attribute
> group?

> Let's say I want to extend attribute group X with attribute group Y.

I don't think there is a way to extend an already declared attributeGroup with
more attributes. However, if you create a new attributeGroup you can reference
another attributeGroup within the new one:

<xs:attributeGroup name="Y">
   <xs:attribute ...>
   ...
</xs:attributeGroup>

<xs:attributeGroup name="X">
   <xs:attribute ...>
   ...
   <xs:attributeGroup ref="Y">
</xs:attributeGroup>

Cheers,
/Eddie

Received on Monday, 5 November 2001 01:51:20 UTC