Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

XSD Datatypes Package

When modeling XSD constructs, it is often useful to have the XSD primitive types represented as UML elements. In this way user-defined types, for example, can reference the datatype elements as part of inheritance or association relationships.

Sparx Systems provides the set of primitive XSD data types as a UML package in the form of an XMI file. Each of the XSD primitive types is represented by a UML Class in a package named XSDDatatypes.

How to



See also


Download the XSDDatatypes package using the link to the right.

The file XSDDataTypes.xml is an XMI file.


XSDDatatypes Package (XML file)


Use Enterprise Architect's XMI import facility, which is available via the Project | Model Import/Export | Import Package from XMI menu option.


XMI import


When the XMI import is complete, you have the UML package named XSDDatatypes in your model, from which you can drag and drop the relevant types as required.




Import and use the XSD Datatypes into Enterprise Architect only if you are modeling the XSD model using the UML Profile for XSD (instead of using the XML Schema Toolbox)