UML Profile for XSD
The UML Profile for XSD specifies a set of stereotypes, tagged values and constraints that can be applied to the UML model in order to change particular aspects of the resulting schema. For example, you might have to convert certain UML Class attributes to XSD attributes, or use a model group other than the default Sequence.
Enterprise Architect provides native support for the UML Profile for XSD via the XML schema page of the Diagram Toolbox. Alternatively, you can use the profile via Enterprise Architect's generic profile mechanism by downloading the UML Profile for XSD. The XSD profile used by Enterprise Architect is an adaptation of the profile defined in Modeling XML Applications with UML (David Carlson).