2.16 Attribute
The Attribute element specifies an attribute of an entity.
The following are the parent elements, attributes, and child elements of the Attribute element.
Parent elements |
---|
Attributes |
---|
Child elements |
---|
The following is the XML Schema definition of the Attribute element.
-
<xsd:complexType name="AttributeType"> <xsd:all> <!-- ModelItemType Start--> <xsd:element name="Name" type="NonEmptyString" minOccurs="0" /> <xsd:element name="Description" type="xsd:string" minOccurs="0" /> <xsd:element name="Hidden" type="xsd:boolean" minOccurs="0" /> <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" /> <!-- ModelItemType End--> <!-- FieldType Start--> <xsd:element name="Variations" type="VariationsType" minOccurs="0" /> <!-- FieldType End--> <xsd:element name="DataType" type="DataTypeEnum" /> <xsd:element name="Nullable" type="xsd:boolean" minOccurs="0" /> <xsd:element name="Expression" type="ExpressionType" minOccurs="0" /> <xsd:element name="IsAggregate" type="xsd:boolean" minOccurs="0" /> <xsd:element name="IsFilter" type="xsd:boolean" minOccurs="0" /> <xsd:element name="OmitSecurityFilters" type="xsd:boolean" minOccurs="0" /> <xsd:element name="SortDirection" type="SortDirectionEnum" minOccurs="0" /> <xsd:element name="Width" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:int"> <xsd:minInclusive value="0" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Alignment" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="General" /> <xsd:enumeration value="Left" /> <xsd:enumeration value="Center" /> <xsd:enumeration value="Right" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Format" type="xsd:string" minOccurs="0" /> <xsd:element name="MimeType" type="NonEmptyString" minOccurs="0" /> <xsd:element name="DataCulture" type="xsd:language" minOccurs="0" /> <xsd:element name="DiscourageGrouping" type="xsd:boolean" minOccurs="0" /> <xsd:element name="EnableDrillthrough" type="xsd:boolean" minOccurs="0" /> <xsd:element name="ContextualName" type="AttributeContextualNameEnum" minOccurs="0" /> <xsd:element name="DefaultAggregateAttributeID" type="xsd:QName" minOccurs="0" /> <xsd:element name="ValueSelection" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="None" /> <xsd:enumeration value="Dropdown" /> <xsd:enumeration value="List" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Column" type="ColumnType" minOccurs="0" /> </xsd:all> <xsd:attribute name="ID" type="xsd:QName" use="required" /> </xsd:complexType>