Download XML Editor 11.2 User Manual

Transcript
Editing documents
Table 4.3. xs:attribute properties
P r o p e r t y Description
Name
Possible Value
Mentions
Name
Any NCName for global/local attributes, all declared attributes' QName for references.
For all local or global attributes. If missing, will be displayed as '[attribute]' in the
diagram.
Attribute name. Always required.
Is Reference When set, the local attribute is a reference. true/false
For local attributes.
Type
Qualified name of a simple type.
Default
Default value. When specified, an attribute Any string
is added by the schema processor (if it is
missing from the instance XML document)
and it is given this value. The default and
fixed attributes are mutually exclusive.
For all local or global attributes. For references the value
is from the referred attribute.
Fixed
When specified, the value of the attribute Any string
is fixed and must be equal to this value.
The default and fixed attributes are mutually exclusive.
For all local or global attributes. For references the value
is from the referred attribute.
Use
Possible usage of the attribute. Marking optional, required, prohibited For local attributes
an attribute "prohibited" is useful to exclude attributes during derivations by restriction.
Form
Specifies if the attribute is qualified (i.e., unqualified/qualified
must have a namespace prefix in the instance XML document) or not. The default
value for this attribute is specified by the
'attributeFormDefault' attribute of the
xs:schema document element.
For local attributes.
ID
The component id.
Any id
For all attributes.
Component The edited component name.
Not editable property.
For all attributes.
Namespace The component namespace.
Not editable property.
For all attributes.
System ID
Not editable property.
For all attributes.
The component system id.
All global simple types and For all attributes. For referbuilt-in simple types. In addi- ences, the type is set to the
tion another 3 proposals are referred attribute.
present: [anonymous restriction], [anonymous list], [anonymous union] for creating
anonymous simple types
more easily.
xs:complexType
Defines a top level complex type.
Complex Type Definitions provide for:
112