Download for Windows Premium
Publiciteit
ComplexType
complex type
complexType
Ein ComplexType ist ein Element, das Attribute oder Elemente enthält.
A complex type element is one which contains attributes or elements.
Wir werden zuerst einen ComplexType auf globaler Ebene erstellen und diesen dann erweitern, um ihn in einem Content Model verwenden zu können.
You will first create a complex type at the global level and then extend it for use in a content model.
Es unterscheidet sich insofern von einem global deklarierten ComplexType, als sein Content Model nicht geändert werden kann, ohne dass auch das globale Element selbst geändert wird.
It differs from a globally declared complex type in that its content model cannot be modified without also modifying the global element itself.
Dies erreichen Sie dadurch, dass Sie diese Elementdefinition als globalen ComplexType oder als globales Element erstellen.
The way to do this is by creating that element definition as a global complex type or as a global element.
Wir erstellen nun einen globalen ComplexType für Adressen in Großbritannien.
We will now create a global complex type to hold UK addresses.
Anmerkung: Wie auch bei referenzierten globalen Elementen können Sie direkt zu einem Element innerhalb der ComplexType-Definition gehen, indem Sie die Strg-Taste gedrückt halten und auf das gewünschte Element im Content Model, das den ComplexType enthält, doppelklicken.
Note: Just as with referenced global elements, you can go directly to an element within the complex type definition by holding down Ctrl and double-clicking the required element in the content model that contains the complex type.
ComplexType Assertions können in der Schema-Ansicht über folgende GUI-Bereiche erstellt und bearbeitet werden
In Schema View, complex type assertions can be created and edited via the following GUI access points
Der ComplexType basiert auf dem Element AddressType und wird erweitert, bis er dem englischen Adressformat entspricht.
The complex type is based on AddressType, and is extended to match the UK address format.
Wählen Sie im Bereich "Zeileneinstellungen (Gilt pro Zeile)" die Option "Ausblenden wenn leer", damit die Beschreibung des Datentyps im Elementfeld ausgeblendet wird, wenn das Element keinen Datentyp hat (z.B. wenn das Element ein ComplexType ist)
In the Single Line Settings pane, select Hide Line If No Value. This hides the description of the datatype in the element box if the element does not have a datatype (for example, if the element is a complex type).
Es wird ein globaler ComplexType mit dem Namen AddressType erstellt, und dem Element "Address" im Content Model "Company" wird dieser Typ zugewiesen.
A global complex type called AddressType is created, and the Address element in the Company content model is assigned this type.
Erstellen eines zweiten ComplexType auf Basis von AddressType
Creating a second complex type based on AddressType
Um festzulegen, dass das Element Address im XML-Dokument einem der erweiterten Address-Typen entsprechen muss (US-Address oder UK-Address) und nicht dem generischen AddressType, müssen wir den erforderlichen erweiterten ComplexType als ein Attribut des Elements Address definieren.
In the XML document, in order to specify that the Address element must conform to one of the extended Address types (US-Address or UK-Address) rather than the generic AddressType, we must specify the required extended complex type as an attribute of the Address element.
Klicken Sie in der Komponenten-Eingabehilfe auf das Erweiterungssymbol für Element- und ComplexType-Einträge, um die jeweiligen Schema-Konstrukte zu sehen.In der Schema-Übersicht werden nun zwei globale Komponenten angezeigt: das Element "Company" und der ComplexType "AddressType".
Click the expand icons for the element and complexType entries in the Components entry helper, to see the respective schema constructs. The Schema Overview now displays two global components: the Company element and the complex type AddressType.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor ComplexType in het Duits

Publiciteit

Suggesties

Resultaten: 74. Exact: 74. Verstreken tijd: 57 ms.