September 2002
Intermediate to advanced
1008 pages
22h 3m
English
A named attribute-use group provides a way to specify a set of attribute types that presumably apply to multiple complex types. Listing 9.2 portrays the named attribute-use group saleAttributeGroup. In addition, the listing demonstrates the complex types freePriceType and salePriceType, both of which reference saleAttributeGroup.
<xsd:attributeGroup name="saleAttributeGroup" id="pricing.sale.ag"> <xsd:annotation> <xsd:documentation xml:lang="en"> Anything that is on sale (or free, which is a type of sale) must have an authorization defined. This is someone's name, initials, ID, etc. </xsd:documentation> </xsd:annotation> <xsd:attribute name="employeeAuthorization" ... |
Read now
Unlock full access