组件:表格

元素:Table / info

命名空间 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 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: 无界限
模型 值* | conceptValue{0,1}
儿童 conceptValuevalue
实例
<column format="" id="" type="">
  <value lang="">{0,unbounded}</value>
  <conceptValue concept="">{0,1}</conceptValue>
</column>
属性
QName 类型 已修复 默认 使用 注解
格式 xs:字符串 可选 列的格式,用于解析值的文本表示。日期格式定义如下:http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateFormat.html
id 本地 ID 必需 表格列的标识符。
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>

元素:“Table”/“data”

命名空间 http://schemas.google.com/dspl/2010
注释 可在其中查找表数据的数据源。
图示 图示 dspl11.tmp#id99 dspl11.tmp#id98
类型 数据
属性
content: 复杂
minOccurs: 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}
儿童 columndatainfo
属性
QName 类型 已修复 默认 使用 注解
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/DateFormat.html
类型 xs:字符串
属性
而应使用以下命令: 可选
来源
<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

命名空间 没有命名空间
注释 表格列的标识符。
类型 本地 ID
属性
而应使用以下命令: 必需
属性
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
属性
而应使用以下命令: 必需
属性
枚举 字符串
枚举 float
枚举 integer
枚举 布尔值
枚举 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>

属性:Table / @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 编辑器创建。