组件:表格

元素:表格 / 信息

命名空间 http://schemas.google.com/dspl/2010
注释 有关表的文本信息。
图示 图示 dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
类型 信息
属性
content: 复杂
最少发生次数: 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 table.</xs:documentation>
  </xs:annotation>
</xs:element>

元素:表格 / 列

命名空间 http://schemas.google.com/dspl/2010
注释 表中列的规范。
图示 图示 dspl10.tmp#id95 dspl10.tmp#id96 dspl10.tmp#id94 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9
属性
content: 复杂
maxOccurs: 无界限
模型 value* | conceptValue{0,1}
儿童 conceptValuevalue
实例
<column format="" id="" type="">
  <value lang="">{0,unbounded}</value>
  <conceptValue concept="">{0,1}</conceptValue>
</column>
属性
QName 类型 Fixed 默认 使用情形 注解
格式 xs:string 可选 列的格式,用于解析值的文本表示形式。日期格式定义如下:http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
ID [id] LocalId 必填 表格列的标识符。
type DataType 必填 表列的数据类型。表中相应列的所有值都必须符合此数据类型。
来源
<xs:element name="column" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>The specification of a column in the table.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:group ref="ValuesGroup" minOccurs="0">
      <xs:annotation>
        <xs:documentation>A constant value for the column.</xs:documentation>
      </xs:annotation>
    </xs:group>
    <xs:attribute name="id" type="LocalId" use="required">
      <xs:annotation>
        <xs:documentation>The identifier of the table column.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="type" type="DataType" use="required">
      <xs:annotation>
        <xs:documentation>The data type of the table column. All values of the
                column in the table must conform to this data type.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="format" type="xs:string" use="optional">
      <xs:annotation>
        <xs:documentation>A format for the column, used to parse a textual
                representation of the values.

                Date formats are defined by:

                http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

元素:表格 / 数据

命名空间 http://schemas.google.com/dspl/2010
注释 可找到表数据的数据源。
图示 图示 dspl11.tmp#id99 dspl11.tmp#id98
类型 数据
属性
content: 复杂
最少发生次数: 0
模型 file
儿童 file
实例
<data>
  <file encoding="utf-8" format="csv">{1,1}</file>
</data>
来源
<xs:element name="data" type="Data" minOccurs="0">
  <xs:annotation>
    <xs:documentation>A data source where data for the table can be found.</xs:documentation>
  </xs:annotation>
</xs:element>

复杂类型:表

命名空间 http://schemas.google.com/dspl/2010
注释 表提供数据集的数据。表可以针对某个概念或某个切片提供数据。
图示 图示 dspl10.tmp#id102 dspl10.tmp#id89 dspl10.tmp#id90 dspl10.tmp#id97
使用者
元素 dspl/tables/table
模型 info{0,1}column+data{0,1}
儿童 数据信息
属性
QName 类型 Fixed 默认 使用情形 注解
ID [id] ID 必填 数据集中表的唯一标识符。
来源
<xs:complexType name="Table">
  <xs:annotation>
    <xs:documentation>A table provides data for the dataset. A table may provide data
        for a concept or for a slice.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="info" type="Info" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Textual information about the table.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="column" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>The specification of a column in the table.</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:group ref="ValuesGroup" minOccurs="0">
          <xs:annotation>
            <xs:documentation>A constant value for the column.</xs:documentation>
          </xs:annotation>
        </xs:group>
        <xs:attribute name="id" type="LocalId" use="required">
          <xs:annotation>
            <xs:documentation>The identifier of the table column.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="type" type="DataType" use="required">
          <xs:annotation>
            <xs:documentation>The data type of the table column. All values of the
                column in the table must conform to this data type.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="format" type="xs:string" use="optional">
          <xs:annotation>
            <xs:documentation>A format for the column, used to parse a textual
                representation of the values.

                Date formats are defined by:

                http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:complexType>
    </xs:element>
    <xs:element name="data" type="Data" minOccurs="0">
      <xs:annotation>
        <xs:documentation>A data source where data for the table can be found.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="id" type="Id" use="required">
    <xs:annotation>
      <xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>

属性:表格 / / @format

命名空间 没有命名空间
注释 列的格式,用于解析值的文本表示形式。日期格式定义如下:http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html
类型 xs:string
属性
而应使用以下命令: 可选
来源
<xs:attribute name="format" type="xs:string" use="optional">
  <xs:annotation>
    <xs:documentation>A format for the column, used to parse a textual
                representation of the values.

                Date formats are defined by:

                http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html</xs:documentation>
  </xs:annotation>
</xs:attribute>

属性:表格 / / @id

命名空间 没有命名空间
注释 表格列的标识符。
类型 LocalId
属性
而应使用以下命令: 必填
分面
maxLength 64
来源
<xs:attribute name="id" type="LocalId" use="required">
  <xs:annotation>
    <xs:documentation>The identifier of the table column.</xs:documentation>
  </xs:annotation>
</xs:attribute>

属性:表格 / / @type

命名空间 没有命名空间
注释 表列的数据类型。表中相应列的所有值都必须符合此数据类型。
类型 DataType
属性
而应使用以下命令: 必填
分面
枚举 string
枚举 float
枚举 integer
枚举 boolean
枚举 date
枚举 concept
来源
<xs:attribute name="type" type="DataType" use="required">
  <xs:annotation>
    <xs:documentation>The data type of the table column. All values of the
                column in the table must conform to this data type.</xs:documentation>
  </xs:annotation>
</xs:attribute>

属性:表格 / @id

命名空间 没有命名空间
注释 数据集中表的唯一标识符。
类型 ID
属性
而应使用以下命令: 必填
分面
maxLength 64
使用者
复杂类型 表格
来源
<xs:attribute name="id" type="Id" use="required">
  <xs:annotation>
    <xs:documentation>The unique identifier of the table in the dataset.</xs:documentation>
  </xs:annotation>
</xs:attribute>

使用 oXygen XML 编辑器创建。