组件:属性

元素:属性/信息

命名空间 http://schemas.google.com/dspl/2010
注释 关于属性的文本信息。
图示 图示 dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
类型 信息
属性
content: 复杂
minOccurs: 0
模型 namedescription{0,1}url{0,1}
儿童 descriptionnameurl
实例
<info>
  <name>{1,1}</name>
  <description>{0,1}</description>
  <url>{0,1}</url>
</info>
来源
<xs:element name="info" type="Info" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Textual information about the attribute.</xs:documentation>
  </xs:annotation>
</xs:element>

元素:属性/类型

命名空间 http://schemas.google.com/dspl/2010
注释 属性的数据类型
图示 图示 dspl14.tmp#id21 dspl14.tmp#id23
属性
content: 复杂
minOccurs: 0
属性
QName 类型 已修复 默认 使用 注解
格式 xs:字符串 可选 值的格式,用于解析值的文本表示。有关日期,请参阅 [日期格式规范]。
参考 DataType 必需
来源
<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>

复杂类型:属性

命名空间 http://schemas.google.com/dspl/2010
注释 数据集或概念的属性。
图示 图示 dspl14.tmp#id24 dspl14.tmp#id26 dspl14.tmp#id19 dspl14.tmp#id20 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9
使用方数量
元素 概念/属性dspl/attribute
模型 info{0,1}type{0,1}、(value* | conceptValue{0,1}
儿童 conceptValueinfotypevalue
属性
QName 类型 已修复 默认 使用 注解
概念 xs:QName 可选 对与属性值对应的概念的引用。如果属性指定类型,则该类型必须与所引用概念的类型匹配。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是用于外部数据集命名空间的前缀(请参阅 XML 命名空间)。
id 本地 ID 可选 概念属性的 ID。此标识符在概念中必须是唯一的(在各个属性之间)。如果指定了概念属性,则可以省略此 ID。在这种情况下,系统将隐式创建一个 ID,其值为所引用概念的本地名称。例如,<attribute concept="unit:currency"/> 相当于 <attribute id="currency" concept="unit:currency"/>
来源
<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 / type / @ref

命名空间 没有命名空间
类型 DataType
属性
而应使用以下命令: 必需
属性
枚举 字符串
枚举 float
枚举 integer
枚举 布尔值
枚举 date
枚举 concept
使用方数量
元素 属性/类型
来源
<xs:attribute name="ref" type="DataType" use="required"/>

属性:属性 / 类型 / @format

命名空间 没有命名空间
注释 值的格式,用于解析值的文本表示。有关日期,请参阅 [日期格式规范]。
类型 xs:字符串
属性
而应使用以下命令: 可选
使用方数量
元素 属性/类型
来源
<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 / @id

命名空间 没有命名空间
注释 概念属性的 ID。此标识符在概念中必须是唯一的(在各个属性之间)。如果指定了概念属性,则可以省略此 ID。在这种情况下,系统将隐式创建一个 ID,其值为所引用概念的本地名称。 例如,<attribute concept="unit:currency"/> 相当于 <attribute id="currency" concept="unit:currency"/>
类型 本地 ID
属性
而应使用以下命令: 可选
属性
maxLength 64
使用方数量
复杂类型 特性
来源
<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>

属性:属性/ @concept

命名空间 没有命名空间
注释 对与属性值对应的概念的引用。如果属性指定类型,则该类型必须与所引用概念的类型匹配。对外部概念的引用必须采用“前缀:other_concept_id”格式,其中“前缀”是用于外部数据集命名空间的前缀(请参阅 XML 命名空间)。
类型 xs:QName
属性
而应使用以下命令: 可选
使用方数量
复杂类型 特性
来源
<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>

使用 oXygen XML 编辑器创建。