Page History
Maps to a UML Class with the stereotype XSDschema.
All schema global attributes and elements are mapped to the UML Attributes of this class.
The name of this class should match the file name or must be assigned to the component representing the file. The “xmlns” xml tags maps to a permission link with the stereotype «xmlns» and name, representing a given prefix.
The permission client is the schema class and supplier package with its name equal to the “xmlns” value.
Panel | ||
---|---|---|
| ||
<schema attributeFormDefault = (qualified | unqualified) : unqualified elementFormDefault = (qualified | unqualified) : unqualified id = ID targetNamespace = anyURI version = token xml:lang = language {any attributes with non-schema namespace…}> Content: ((include | import | redefine | annotation)*, (((simpleType | complexType | group | attriuteGroup) | element | </schema> |
Panel | ||
---|---|---|
| ||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" … </xs:schema> |
schema UML model example.
Panel | ||
---|---|---|
| ||
<xs:schema xmlns:nm = "http://nomagic.com" elementFormDefault = "unqualified" targetNamespace = "http://nomagic.com" xml:lang = "EN" /> |