XML Schema Toolbox

The XML Schema Toolbox provides model elements that you can use to model W3C XSD schema files. This Toolbox implements the constructs provided by the UML Profile for XML Schema. Having created your model, you can automatically generate the W3C XSD schema files from it.

XML Schema Toolbox pages

Image

Detail

See also

A Schema corresponds to a UML Package, which contains the type and element definitions for a particular targetNamespace. Drag this item onto an open diagram to create the Package to contain your schema model elements. The Package is stereotyped as XSDschema.

Open the logical diagram created under the XSDschema Package and add additional schema elements to define the model.

Complex Type Global Attribute Local Element Global Element Any Model Group Generalization Any Attribute Local Attribute Group Attribute Group Union Association Schema Package Simple Type Enumeration

Notes

  • To add an element to the currently-open diagram, click on the appropriate icon and drag it into position on the diagram; set an element name and other properties as prompted
  • To add a relationship, click on the appropriate icon, then click on the start element in the diagram and drag to the end element

Learn more