元素:表格/資訊
命名空間 | 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 | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
註解 | 資料表中資料欄的規格。 | ||||||||||||||||||||||||
圖表 | |||||||||||||||||||||||||
屬性 |
|
||||||||||||||||||||||||
模型 | 值* | conceptValue{0,1} | ||||||||||||||||||||||||
兒童 | conceptValue、value | ||||||||||||||||||||||||
執行個體 |
<column format="" id="" type=""> <value lang="">{0,unbounded}</value> <conceptValue concept="">{0,1}</conceptValue> </column> |
||||||||||||||||||||||||
屬性 |
|
||||||||||||||||||||||||
資料來源 |
<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 | ||||
---|---|---|---|---|---|
註解 | 可在其中找到資料表資料的資料來源。 | ||||
圖表 | |||||
類型 | 資料 | ||||
屬性 |
|
||||
模型 | 檔案 | ||||
兒童 | 檔案 | ||||
執行個體 |
<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} | ||||||||||||
兒童 | column、data、info | ||||||||||||
屬性 |
|
||||||||||||
資料來源 |
<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:字串 | ||
屬性 |
|
||
資料來源 |
<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> |
屬性:Table/資料欄/ @id
命名空間 | 沒有命名空間 | |||
---|---|---|---|---|
註解 | 表格欄的 ID。 | |||
類型 | 地區 ID | |||
屬性 |
|
|||
商情項目 |
|
|||
資料來源 |
<xs:attribute name="id" type="LocalId" use="required"> <xs:annotation> <xs:documentation>The identifier of the table column.</xs:documentation> </xs:annotation> </xs:attribute> |
屬性:Table / 資料欄 / @type
命名空間 | 沒有命名空間 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
註解 | 表格欄的資料類型。資料表中所有的資料欄都必須符合這個資料類型。 | ||||||||||||||||||
類型 | 資料類型 | ||||||||||||||||||
屬性 |
|
||||||||||||||||||
商情項目 |
|
||||||||||||||||||
資料來源 |
<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。 | |||
類型 | 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 編輯器建立。