Component: Attribute

Element: Attribute / info

Namespace http://schemas.google.com/dspl/2010
Annotations Textual information about the attribute.
Diagram Diagram dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
Type Info
Properties
content: complex
minOccurs: 0
Model name , description{0,1} , url{0,1}
Children description, name, url
Instance
<info>
  <name>{1,1}</name>
  <description>{0,1}</description>
  <url>{0,1}</url>
</info>
Source
<xs:element name="info" type="Info" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Textual information about the attribute.</xs:documentation>
  </xs:annotation>
</xs:element>

Element: Attribute / type

Namespace http://schemas.google.com/dspl/2010
Annotations The data type of the attribute.
Diagram Diagram dspl14.tmp#id21 dspl14.tmp#id23
Properties
content: complex
minOccurs: 0
Attributes
QName Type Fixed Default Use Annotation
format xs:string optional A format for the value, used to parse a textual representation of the values. See [Date formats spec] for dates.
ref DataType required
Source
<xs:element name="type" minOccurs="0">
  <xs:annotation>
    <xs:documentation>The data type of the attribute.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="ref" type="DataType" use="required"/>
    <xs:attribute name="format" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>A format for the value, used to parse a textual
                representation of the values. See [Date formats spec]
                for dates.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Complex Type: Attribute

Namespace http://schemas.google.com/dspl/2010
Annotations An attribute of a dataset or a concept.
Diagram Diagram dspl14.tmp#id24 dspl14.tmp#id26 dspl14.tmp#id19 dspl14.tmp#id20 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9
Used by
Elements Concept/attribute, dspl/attribute
Model info{0,1} , type{0,1} , (value* | conceptValue{0,1})
Children conceptValue, info, type, value
Attributes
QName Type Fixed Default Use Annotation
concept xs:QName optional A reference to a concept that corresponds to the values of the attribute. If the attribute specifies a type, then the type must match the type of the referenced concept. A reference to an external concept must be of the form "prefix:other_concept_id", where "prefix" is the prefix used for the namespace of the external dataset (see XML namespaces).
id LocalId optional The id of the concept attribute. This identifier must be unique within the concept (across attributes and properties). The id may be omitted if the concept attribute is specified. In that case, an id is implicity created with value the local name of the referenced concept. For instance <attribute concept="unit:currency"/> is equivalent to <attribute id="currency" concept="unit:currency"/>
Source
<xs:complexType name="Attribute">
  <xs:annotation>
    <xs:documentation>An attribute of a dataset or a concept.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="info" type="Info" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Textual information about the attribute.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="type" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The data type of the attribute.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:attribute name="ref" type="DataType" use="required"/>
        <xs:attribute name="format" type="xs:string" use="optional">
          <xs:annotation>
            <xs:documentation>A format for the value, used to parse a textual
                representation of the values. See [Date formats spec]
                for dates.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:complexType>
    </xs:element>
    <xs:group ref="ValuesGroup" minOccurs="0"/>
  </xs:sequence>
  <xs:attribute name="id" type="LocalId" use="optional">
    <xs:annotation>
      <xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
          (across attributes and properties).

          The id may be omitted if the concept attribute is specified. In that case, an id is
          implicity created with value the local name of the referenced concept. For instance

          <attribute concept="unit:currency"/>

          is equivalent to

          <attribute id="currency" concept="unit:currency"/></xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="concept" type="xs:QName" use="optional">
    <xs:annotation>
      <xs:documentation>A reference to a concept that corresponds to the values of the attribute.

          If the attribute specifies a type, then the type must match the type of
          the referenced concept.

          A reference to an external concept must be of the form "prefix:other_concept_id",
          where "prefix" is the prefix used for the namespace of the external dataset
          (see XML namespaces).</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

Attribute: Attribute / type / @ref

Namespace No namespace
Type DataType
Properties
use: required
Facets
enumeration string
enumeration float
enumeration integer
enumeration boolean
enumeration date
enumeration concept
Used by
Element Attribute/type
Source
<xs:attribute name="ref" type="DataType" use="required"/>

Attribute: Attribute / type / @format

Namespace No namespace
Annotations A format for the value, used to parse a textual representation of the values. See [Date formats spec] for dates.
Type xs:string
Properties
use: optional
Used by
Element Attribute/type
Source
<xs:attribute name="format" type="xs:string" use="optional">
  <xs:annotation>
    <xs:documentation>A format for the value, used to parse a textual
                representation of the values. See [Date formats spec]
                for dates.</xs:documentation>
  </xs:annotation>
</xs:attribute>

Attribute: Attribute / @id

Namespace No namespace
Annotations The id of the concept attribute. This identifier must be unique within the concept (across attributes and properties). The id may be omitted if the concept attribute is specified. In that case, an id is implicity created with value the local name of the referenced concept. For instance <attribute concept="unit:currency"/> is equivalent to <attribute id="currency" concept="unit:currency"/>
Type LocalId
Properties
use: optional
Facets
maxLength 64
Used by
Complex Type Attribute
Source
<xs:attribute name="id" type="LocalId" use="optional">
  <xs:annotation>
    <xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
          (across attributes and properties).

          The id may be omitted if the concept attribute is specified. In that case, an id is
          implicity created with value the local name of the referenced concept. For instance

          <attribute concept="unit:currency"/>

          is equivalent to

          <attribute id="currency" concept="unit:currency"/></xs:documentation>
  </xs:annotation>
</xs:attribute>

Attribute: Attribute / @concept

Namespace No namespace
Annotations A reference to a concept that corresponds to the values of the attribute. If the attribute specifies a type, then the type must match the type of the referenced concept. A reference to an external concept must be of the form "prefix:other_concept_id", where "prefix" is the prefix used for the namespace of the external dataset (see XML namespaces).
Type xs:QName
Properties
use: optional
Used by
Complex Type Attribute
Source
<xs:attribute name="concept" type="xs:QName" use="optional">
  <xs:annotation>
    <xs:documentation>A reference to a concept that corresponds to the values of the attribute.

          If the attribute specifies a type, then the type must match the type of
          the referenced concept.

          A reference to an external concept must be of the form "prefix:other_concept_id",
          where "prefix" is the prefix used for the namespace of the external dataset
          (see XML namespaces).</xs:documentation>
  </xs:annotation>
</xs:attribute>

Created using the oXygen XML Editor.