xml spy
Previous  Top  Next
Making schema components reusable

Goal of this section:
To create generic schema components which can be reused by other elements.

This will be achieved by:
·Creating a global AddressType component, which will be the basis for specific country addresses (a complex type)  
·Creating two specific address templates for UK-, and US Adresses by extending the global address element (extend the complex type)  
·Creating a global US-State element, by restriction (simpleType)  
·Creating a global person element by reference  
·Defining person attributes that supply information about the persons position in the company  
·Limiting the attribute contents to a predefined set of attribute values (enumeration)  
 
 
Functions (and their icons) in this section:

ic_back2global Schema design | Display all globals, takes you back to the schema overview.  
ic_schem_app Append icon, allows you to append an element, attribute or enumeration to a schema.  
ic_component Schema design | Display diagram, the component icon displays the content model of the active global component in the schema overview.  
 

Previous  Top  Next

© 2002 Altova