组件:表格
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
元素:表格 / 信息
命名空间 |
http://schemas.google.com/dspl/2010 |
注释 |
有关表的文本信息。 |
图示 |
 |
类型 |
信息 |
属性 |
|
型号 |
name、description{0,1}、url{0,1} |
儿童 |
description、name、url |
实例 |
<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 |
注释 |
表中列的规范。 |
图示 |
 |
属性 |
content: |
复杂 |
maxOccurs: |
无界限 |
|
型号 |
value* |conceptValue{0,1} |
儿童 |
conceptValue、value |
实例 |
<column format="" id="" type="">
<value lang="">{0,unbounded}</value>
<conceptValue concept="">{0,1}</conceptValue>
</column>
|
属性 |
QName |
类型 |
固定 |
默认 |
使用 |
注解 |
格式 |
xs:string |
|
|
可选 |
列的格式,用于解析文本
值的表示法。日期格式由以下元素定义:
http://joda-time.sourceforge.net/api-release/org/joda/time/format/DateTimeFormat.html |
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 |
注释 |
可用于创建表数据的数据源
。 |
图示 |
 |
类型 |
数据 |
属性 |
|
型号 |
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 |
注释 |
表提供数据集的数据。表格可提供数据
特定概念或切片。 |
图示 |
 |
使用方数量 |
|
型号 |
info{0,1}、column+、data{0,1} |
儿童 |
列、数据、信息 |
属性 |
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>
|
命名空间 |
没有命名空间 |
注释 |
列的格式,用于解析文本表示
值。日期格式由以下元素定义:
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 |
属性 |
|
分面 |
|
来源 |
<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>
|
属性:表格 / @id
命名空间 |
没有命名空间 |
注释 |
数据集中表的唯一标识符。 |
类型 |
ID |
属性 |
|
分面 |
|
使用方数量 |
|
来源 |
<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 Editor。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[],["Tables store dataset information, and they are uniquely identified by an ID. Each table can have optional textual information in its \"info\" section. Tables are comprised of columns and data. Columns require a unique ID, data type and optionally include a format to parse text values. Columns can be of various data types. The data section provides a file, with a specified encoding and format, as a source. Each column may define multiple values and an optional concept.\n"]]