DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "AttributeType"
Namespace:
Content:
complex, 5 attributes, 5 elements
Defined:
Includes:
definitions of 4 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    isIdentifiable
 = 
"true"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    >
   
Content: 
UserID*, (VariableReference | AttachmentValue), AttachmentLevel, AttachmentGroupReference?
</...>
Content Model Elements (5):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Defines a variable that describes an attribute of all or coordinate sections of the NCube.
Type Definition Detail
Type Derivation Tree
  r:IdentifiableType (extension)
      AttributeType (extension)
XML Source (w/o annotations (5); see within schema source)
<xs:complexType name="AttributeType">
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:choice>
<xs:element ref="VariableReference"/>
<xs:element name="AttachmentValue" type="xs:string"/>
</xs:choice>
<xs:element ref="AttachmentLevel"/>
<xs:element minOccurs="0" ref="AttachmentGroupReference"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 4/5)
AttachmentGroupReference
Type:
r:ReferenceType, complex content
References the coordinate group to which the attribute attaches.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="AttachmentGroupReference"/>

AttachmentLevel
Type:
AttachmentLevelCodeType, simple content
Describes the level of attachment of the attribute.
Simple Content
enumeration of xs:NMTOKEN
Enumeration:
"Cube"
 - 
Attaches to the whole NCube.
"CoordinateGroup"
 - 
Attaches to a group of dimensions (given particular values) described by a coordinate group.
"Dimension"
 - 
Attaches to a dimension only.
"Measurement"
 - 
Attaches to a specific measurement.
"MeasurementValue"
 - 
Attaches to a specific measurement value.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="AttachmentLevel"/>

AttachmentValue
Type:
xs:string, predefined, simple content
The value of the attachment, if not a variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="AttachmentValue" type="xs:string"/>

VariableReference
Type:
r:ReferenceType, complex content
A reference to a variable that describes the attribute.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="VariableReference"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set