An XML model represents the structure of a potential or existing XSD, DTD, or XDR through a tree structure of elements. PowerDesigner supports all the objects necessary to build XML diagrams.
Object |
Tool |
Symbol |
Description |
---|---|---|---|
Element |
|
|
The basic object of an XML model. An element can contain other elements or attributes. See Elements (XSM). |
Attribute | N/A | N/A | Additional information about an element or a complex type. Defined by a built-in data type or a simple data type. See Attributes (XSM). |
Sequence Choice All |
Group particles arranges child elements, so that all must appear at least once in the order of their declaration, only one must be chosen, or any can appear in any order. See Group Particles (XSM). |
||
Simple Type | N/A | N/A | [XSD only] Used in the case of elements or attributes with text-only content. See Simple Types (XSM). |
Complex Type |
|
[XSD only] Used to introduce elements or attributes within an element declaration. See Complex Types (XSM). | |
Group |
|
|
A group of elements arranged by a group particle. Defined once and reused through references. See Groups (XSM). |
Attribute Group | N/A | N/A | A group of attributes, defined once and reused in the model through references. See Attribute Groups (XSM). |
Any |
|
Any type of object. Can only be attached to a sequence or a choice group particle. See Any Elements (XSM). | |
Constraint | N/A | N/A | [XSD only] Specifies uniqueness of element values. See Constraints: Keys, Uniques, and KeyRefs (XSM). |
Derivation | N/A | N/A | Extends or restricts the values of elements and simple and complex types. See Derivations: Extensions, Restrictions, Lists and Unions (XSM). |
Instruction | N/A | N/A | An import, include, or redefine instruction. See Instructions: Import, Include and Redefine (XSM). |
Annotation | N/A | N/A | Provides documentation or application information. See Annotations (XSM). |
Entity | N/A | N/A | [DTD only] Specifies a predefined value or external XML or non-XML file. See Entities (XSM). |
Notation | N/A | N/A | Defines and processes non-XML objects within an XML model. See Notations (XSM). |