This document describes all commands that can be chosen from the
menu:Note:
When not indicated otherwise, the commands are available in all
views.
For the corresponding XML Schema constructs, references are made to the W3C site:
XML Schema Part 0: Primer at http://www.w3.org/TR/xmlschema-0/.
XML Schema Part 1: Structures at http://www.w3.org/TR/xmlschema-1/.
XML Schema Part 2: Datatypes at http://www.w3.org/TR/xmlschema-2/.
Groups elements within a complex element declaration.
Schema construct:
xs:all
The constraints are described in the XML Schema Part 0: Primer, section 2.7.
Adds documentation or application-specific information to a declaration.
Schema construct:
xs:annotation
See XML Schema Part 0: Primer, section 2.6.
Extends the current content model with well-formed XML, usually one or more elements belonging to a different namespace.
Schema construct:
xs:any
See XML Schema Part 0: Primer, section 5.5.
Extends the current content model using an attribute belonging to a different namespace.
Schema construct:
xs:anyAttribute
See XML Schema Part 0: Primer, section 5.5.
Adds application-specific information to a declaration.
Schema construct:
xs:appinfo
See XML Schema Part 0: Primer, section 2.6.
Adds an attribute declaration to an element.
Different values can be defined for the property
Variety
:
When a facet has not been set:
Defines an attribute by referencing an existing simple type using
the Datatype
property.
Available if the simple type is a predefined type.
Only available if the simple type is a user-defined type.
Schema construct:
xs:attribute type="name"
When a facet has been set:
Defines an attribute by restricting an existing simple type which
is referenced by the Datatype
property. This
property is then mapped to the Base type
attribute.
Available if the simple type is a predefined type.
Only available if the simple type is a user-defined type.
Schema construct:
xs:attribute xs:simpleType xs:restriction base ="name"
Defines an attribute. The type is determined by the local simple type declaration.
Schema construct:
xs:attribute xs:simpleType xs:restriction
See XML Schema Part 0: Primer, section 2.2 and XML Schema Part 2: Datatypes, section 4.1.2.
Defines an attribute. The type of the attribute is a list type. The
type of the list values is determined by the
itemType
property. The
itemType
property may reference other simple
types.
Schema construct:
xs:attribute xs:simpleType xs:list itemType="name"
See XML Schema Part 0: Primer, section 2.2 and section 2.3.1.
Defines an attribute. The type of the attribute is a list type. The type of the list values is determined by the local simple type declaration.
Schema construct:
xs:attribute xs:simpleType xs:list
See XML Schema Part 0: Primer, section 2.2 and XML Schema Part 2: Datatypes, section 4.1.2.
Defines an attribute. Using a union, the type of the attribute is
composed of other types. These types are simple types which are referenced by
the memberTypes
property and/or are defined using
local simple type declarations.
Schema construct:
xs:attribute xs:simpleType xs:union memberTypes="name name1"
See XML Schema Part 0: Primer, section 2.2 and section 2.3.2.
Groups all attribute declarations in a global attribute group.
Schema construct:
xs:attributeGroup
See XML Schema Part 0: Primer, section 2.8
Adds an attributeGroup declaration by referring to an existing attributeGroup.
Schema construct:
xs:attributeGroup ref="name"
Defines physical properties for an attribute. The attribute is addressed
by the path in the Context
property.
Schema construct:
tsd:attributeInfo context = "path"
Adds an attribute declaration by referring to an existing attribute.
Schema construct:
xs:attribute ref="name"
See XML Schema Part 0: Primer, section 2.2.
Declares a choice of elements: only one element within the choice can appear in an instance.
Schema construct:
xs:choice
See XML Schema Part 0: Primer, section 2.7.
A complex type may contain other element and attribute declarations.
Different values can be defined for the property
Derivation method
:
Declares a new global complex type.
Schema construct:
xs:complexType name="name"
Defines a global complex type by extending an existing complex type
which is referenced by the Base type
property.
Schema construct:
xs:complexType xs:complexContent xs:extension base="name"
Defines a global complex type by restricting an existing complex type
which is referenced by the Base type
property.
Schema construct:
xs:complexType xs:complexContent xs:restriction base="name"
Specifies the doctype of the Tamino schema. One schema can contain multiple doctypes. The name must be the same as a global element in the schema.
Schema construct:
tsd:doctype
Adds documentation information to a declaration.
Schema construct:
xs:documentation
See XML Schema Part 0: Primer, section 2.6.
A complex element may contain other element and attribute declarations.
Different values can be defined for the property
Derivation method
:
Declares a new complex element.
Schema construct:
xs:element xs:complexType
Declares a complex element by referencing an existing complex type.
Schema construct:
xs:element type="name"
Defines a complex element by extending an existing complex type which
is referenced by the Base type
property.
Schema construct:
xs:element xs:complexType xs:complexContent xs:extension base ="name"
Defines a complex element by restricting an existing complex type
which is referenced by the Base type
property.
Schema construct:
xs:element xs:complexType xs:complexContent xs:restriction base ="name"
Defines physical properties for an element. The element is addressed by
the path in the Context
property.
Schema construct:
tsd:elementInfo context = "path"
Adds an element declaration by referring to an existing element.
Schema construct:
xs:element ref="name"
See XML Schema Part 0: Primer, section 2.2.
Adds a simple element declaration.
Different values can be defined for the property
Variety
:
When a facet has not been set:
Defines an element by referencing an existing simple type using the
Datatype
property.
Available if the simple type is a predefined type.
Only available if the simple type is a user-defined type.
Schema construct:
xs:element type="name"
When a facet has been set:
Defines an element by restricting an existing simple type which is
referenced by the Datatype
property. This property
is then mapped to the Base type
attribute.
Available if the simple type is a predefined type.
Only available if the simple type is a user-defined type.
Schema construct:
xs:element xs:simpleType xs:restriction base ="name"
Defines an element. The type is determined by the local simple type declaration.
Schema construct:
xs:element xs:simpleType xs:restriction
See XML Schema Part 0: Primer, section 2.2 and XML Schema Part 2: Datatypes, section 4.1.2.
Defines an element. The type of the element is a list type. The type
of the list values is determined by the itemType
property. The itemType
property may reference
other simple types.
Schema construct:
xs:element xs:simpleType xs:list itemType="name"
See XML Schema Part 0: Primer, section 2.2 and section 2.3.1.
Defines an element. The type of the element is a list type. The type of the list values is determined by the local simple type declaration.
Schema construct:
xs:element xs:simpleType xs:list
See XML Schema Part 0: Primer, section 2.2 and XML Schema Part 2: Datatypes, section 4.1.2.
Defines an element. Using a union, the type of the element is
composed of other types. These types are simple types which are referenced by
the memberTypes
property and/or are defined using
local simple type declarations.
Schema construct:
xs:element xs:simpleType xs:union memberTypes="name name1"
See XML Schema Part 0: Primer, section 2.2 and section 2.3.2.
Adds an element declaration that references an existing type. This schema tree item is usually chosen if a user-defined type is referenced and the type is not known to the Schema Editor. Thus, the Schema Editor cannot determine whether the element is an element simple, element complex or element with attributes. If the declaration of the type is loaded into the Schema Editor, the tree item is updated.
Schema construct:
xs:element type = "name"
An element with attributes may not contain other elements, but may carry attributes and may contain simple values.
Different values can be defined for the property
Derivation method
:
Declares an element with attributes by referencing an existing element with attributes.
Schema construct:
xs:element type="name"
Defines an element with attributes by extending an existing simple
type or simple type with attributes which is referenced by the
Base type
property.
Schema construct:
xs:element xs:complexType xs:simpleContent xs:extension base="name"
Defines an element with attributes by restricting an existing simple
type with attributes or complex type which is referenced by the
Base type
property. When a complex type is
restricted, the type of the simple content must be determined by a local simple
type declaration.
Schema construct:
xs:element xs:complexType xs:simpleContent xs:restriction base="name"
Groups element declarations in a global group.
Schema construct:
xs:group
See XML Schema Part 0: Primer, section 2.7.
Adds a group declaration by referring to an existing group.
Schema construct:
xs:group ref="name"
See XML Schema Part 0: Primer, section 2.7.
References another schema that has another target namespace. Enables the schema components to be referenced by components of this schema.
Schema construct:
xs:import
See XML Schema Part 0: Primer, section 5.4.
References another schema that has the same target namespace. Enables the schema components to be used by components of this schema without modifications. Big schemas may be distributed into several schema documents by this mechanism.
Schema construct:
xs:include
See XML Schema Part 0: Primer, section 4.1.
Defines a key.
Schema construct:
xs:key xs:selector xs:field
See XML Schema Part 0: Primer, section 5.2.
References a key.
Schema construct:
xs:keyref xs:selector xs:field
See XML Schema Part 0: Primer, section 5.2.
Adds notation declarations to the schema.
Schema construct:
xs:notation
See XML Schema Part 1: Structures, section 3.12 on the W3C site.
References another schema that has the same target namespace. Enables schema components to be used by components of this schema with or without modifications. Groups and types of the other schema may be modified by adding them with modifications below the Redefine node.
Schema construct:
xs:redefine
See XML Schema Part 0: Primer, section 4.5.
Schema root node. This node is always present and cannot be deleted. Therefore, a corresponding command is not available in the
menu.Schema construct:
xs:schema
See XML Schema Part1: Structures, section 3.15.
Declares a sequence of elements: elements within a sequence group must appear in an instance in that order.
Schema construct:
xs:sequence
See XML Schema Part 0: Primer, section 2.7.
Adds a simple type declaration.
Different values can be defined for the property
Variety
:
Defines a simple type by restricting an existing simple type which is
referenced by the Base type
attribute.
Available if the simple type is a predefined type.
Only available if the simple type is a user-defined type.
Schema construct:
xs:simpleType xs:restriction base ="name"
Defines a simple type. The type is determined by the local simple type declaration.
Schema construct:
xs:simpleType xs:restriction
Defines a simple type. The type is a list type. The type of the list
values is determined by the itemType
property. The
itemType
property may reference other simple
types.
Schema construct:
xs:simpleType xs:list itemType="name"
Defines a simple type. The type is a list type. The type of the list values is determined by the local simple type declaration.
Schema construct:
xs:simpleType xs:list
Defines a simple type. Using a union, the type is composed of other
types. These types are simple types which are referenced by the
memberTypes
property and/or are defined using
local simple type declarations.
Schema construct:
xs:simpleType xs:union memberTypes="name name1"
A simple type with attributes may contain other element and attribute declarations.
Different values can be defined for the property
derivation
:
Defines a simple type with attributes by extending an existing simple
type or simple type with attributes which is referenced by the
Base type
property.
Schema construct:
xs:complexType xs:simpleContent xs:extension base="name"
Defines a simple type with attributes by restricting an existing
simple type with attributes or complex type which is referenced by the
Base type
property. When a complex type is
restricted, the type of the simple content must be determined by a local simple
type declaration.
Schema construct:
xs:complexType xs:simpleContent xs:restriction base="name"
Occurs below tsd:doctype
. Defines a uniqueness constraint
over all instances of the doctype where the key is defined.
Schema construct:
tsd:unique
For more information on defining unique keys, see Physical Schema for Elements and Attributes in the Tamino XML Schema User Guide (located in the Tamino XML Server documentation).
Defines a uniqueness constraint over different parts of the same instance.
Schema construct:
xs:unique xs:selector xs:field