หน้านี้และหน้าย่อยที่ลิงก์จะแสดงสคีมา DSPL XML
เนื้อหานี้มีไว้สำหรับผู้ใช้ขั้นสูงที่ต้องการทำความเข้าใจรายละเอียดในระดับต่ำของภาษา สำหรับผู้ใช้ส่วนใหญ่ เนื้อหาใน
คู่มือนักพัฒนาซอฟต์แวร์ควรเพียงพอสำหรับการสร้างและแก้ไขชุดข้อมูล DSPL
สคีมา XML ที่สมบูรณ์พร้อมให้ดาวน์โหลดในรูปแบบ XSD ใน
เว็บไซต์โค้ด DSPL
องค์ประกอบ: dspl
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
ข้อกำหนด DSPL อธิบายถึงชุดข้อมูล ชุดข้อมูลจะได้รับการระบุโดยเนมสเปซ ชุดข้อมูลประกอบด้วยองค์ประกอบต่อไปนี้ - ตาราง: ข้อมูลสำหรับแนวคิดและส่วนต่างๆ ที่กำหนดไว้ในชุดข้อมูล - แนวคิด: คำจำกัดความและโครงสร้างที่ผู้ใช้ระบุที่ใช้ในชุดข้อมูล - สไลซ์: ชุดค่าผสมของมิติข้อมูลและเมตริกที่มีอยู่ในชุดข้อมูล - หัวข้อ: ป้ายกำกับแบบลำดับชั้นที่ใช้เพื่อจัดระเบียบแนวคิดของชุดข้อมูล |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html19.jpeg?hl=th) |
พร็อพเพอร์ตี้ |
|
รุ่น |
import* , info , provider ,
attribute*, topics{0,1} , แนวคิด{0,1} , ส่วนแบ่ง{0,1} ตาราง{0,1} |
เด็ก |
แอตทริบิวต์, แนวคิด, import,
ข้อมูล, ผู้ให้บริการ, ชิ้นส่วน,
ตาราง, หัวข้อ |
อินสแตนซ์ |
<dspl targetNamespace="">
<import location="" namespace="">{0,unbounded}</import>
<info>{1,1}</info>
<provider>{1,1}</provider>
<attribute concept="" id="">{0,unbounded}</attribute>
<topics>{0,1}</topics>
<concepts>{0,1}</concepts>
<slices>{0,1}</slices>
<tables>{0,1}</tables>
</dspl>
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
targetNamespace |
xs:anyURI |
|
|
ไม่บังคับ |
ชุดข้อมูลแต่ละชุดอาจมีเนมสเปซเป้าหมาย เนมสเปซเป้าหมายคือ URI ที่ระบุชุดข้อมูลโดยไม่ซ้ำกัน ดูข้อมูลเพิ่มเติมเกี่ยวกับการใช้เนมสเปซใน XML ได้ที่ http://www.w3.org/TR/REC-xml-names/ หากไม่ได้ระบุ targetNamespace ระบบจะสร้างเนมสเปซเมื่อนำเข้าชุดข้อมูล |
|
แหล่งที่มา |
<xs:element name="dspl">
<xs:annotation>
<xs:documentation>A DSPL specification describes a dataset. A dataset is
identified by its namespace. A dataset is comprised of the
following elements:
- Tables: Data for the concepts and slices defined in the
dataset
- Concepts: User-specified definitions and structures used in
the dataset
- Slices: Combinations of dimensions and metrics present in
the dataset
- Topics: Hierarchical labels used to organise the concepts of
the dataset</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="import" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Import directive for external datasets -- modeled after
the XML Schema import directive. In order to use
elements defined in an external dataset, the external
dataset must be referenced using an import directive.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="namespace" use="required">
<xs:annotation>
<xs:documentation>The namespace of the imported dataset, specified as
a URI. A prefix must be associated with this
namespace before its contents can be referenced. See
[XML Namespaces] for more information about the use
of namespaces and prefixes in XML.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="location" use="optional">
<xs:annotation>
<xs:documentation>An optional location where the definition of the
imported dataset can be found, specified as a
URL. If the location is omitted, the system
processing this DSPL dataset must already know the
imported dataset.
Implementation note: The Google dataset importer
ignores the location attribute. Any imported dataset
must be known by the Google importer beforehand.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="info" type="Info" minOccurs="1">
<xs:annotation>
<xs:documentation>General information about the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="provider" type="Info">
<xs:annotation>
<xs:documentation>General information about the dataset provider.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Attribute associated with the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="topics" minOccurs="0">
<xs:annotation>
<xs:documentation>A hierarchy of topics used to organize the contents of
the dataset. The order in which topics are given is
meaningful and should be respected by visualizations
that displays these topics.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="concepts" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of concepts defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="slices" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of slices defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tables" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of tables defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="targetNamespace" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>Each dataset may provide a target namespace. The
target namespace is a URI that uniquely identifies the
dataset. For more information about the use of namespaces in XML,
see:
http://www.w3.org/TR/REC-xml-names/
If no targetNamespace is provided, then a namespace will be
generated when the dataset is imported.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
องค์ประกอบ: dspl / นำเข้า
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
คำสั่งการนำเข้าสำหรับชุดข้อมูลภายนอก ซึ่งจำลองตามคำสั่งการนำเข้าสคีมา XML หากต้องการใช้องค์ประกอบที่กำหนดไว้ในชุดข้อมูลภายนอก จะต้องมีการอ้างอิงชุดข้อมูลภายนอกโดยใช้คำสั่งการนำเข้า |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html14.jpeg?hl=th) |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
maxOccurs: |
ไร้ขอบเขต |
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
ตำแหน่ง |
|
|
|
ไม่บังคับ |
ตำแหน่งที่ไม่บังคับซึ่งพบคำจำกัดความของชุดข้อมูลที่นำเข้า ซึ่งระบุเป็น URL หากไม่ระบุตำแหน่ง ระบบการประมวลผลชุดข้อมูล DSPL นี้ต้องรู้ชุดข้อมูลที่นำเข้าอยู่แล้ว หมายเหตุการใช้งาน: ผู้นำเข้าชุดข้อมูลของ Google ไม่สนใจแอตทริบิวต์ตำแหน่ง ผู้นำเข้าของ Google ต้องรู้จักชุดข้อมูลที่นำเข้าล่วงหน้า |
เนมสเปซ |
|
|
|
จำเป็น |
เนมสเปซของชุดข้อมูลที่นำเข้า ซึ่งระบุเป็น URI ต้องเชื่อมโยงคำนำหน้ากับเนมสเปซนี้ก่อนจึงจะอ้างอิงเนื้อหาได้ ดู [เนมสเปซ XML] สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการใช้เนมสเปซและคำนำหน้าใน XML |
|
แหล่งที่มา |
<xs:element name="import" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Import directive for external datasets -- modeled after
the XML Schema import directive. In order to use
elements defined in an external dataset, the external
dataset must be referenced using an import directive.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="namespace" use="required">
<xs:annotation>
<xs:documentation>The namespace of the imported dataset, specified as
a URI. A prefix must be associated with this
namespace before its contents can be referenced. See
[XML Namespaces] for more information about the use
of namespaces and prefixes in XML.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="location" use="optional">
<xs:annotation>
<xs:documentation>An optional location where the definition of the
imported dataset can be found, specified as a
URL. If the location is omitted, the system
processing this DSPL dataset must already know the
imported dataset.
Implementation note: The Google dataset importer
ignores the location attribute. Any imported dataset
must be known by the Google importer beforehand.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
องค์ประกอบ: dspl / ข้อมูล
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
ข้อมูลทั่วไปเกี่ยวกับชุดข้อมูล |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html62.jpeg?hl=th) |
ประเภท |
ข้อมูล |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
1 |
|
รุ่น |
ชื่อ , คำอธิบาย{0,1} , url{0,1} |
เด็ก |
รายละเอียด, ชื่อ, URL |
อินสแตนซ์ |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
แหล่งที่มา |
<xs:element name="info" type="Info" minOccurs="1">
<xs:annotation>
<xs:documentation>General information about the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
|
องค์ประกอบ: dspl / provider
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
ข้อมูลทั่วไปเกี่ยวกับผู้ให้บริการชุดข้อมูล |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html27.jpeg?hl=th) |
ประเภท |
ข้อมูล |
พร็อพเพอร์ตี้ |
|
รุ่น |
ชื่อ , คำอธิบาย{0,1} , url{0,1} |
เด็ก |
รายละเอียด, ชื่อ, URL |
อินสแตนซ์ |
<provider>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</provider>
|
แหล่งที่มา |
<xs:element name="provider" type="Info">
<xs:annotation>
<xs:documentation>General information about the dataset provider.</xs:documentation>
</xs:annotation>
</xs:element>
|
องค์ประกอบ: dspl / แอตทริบิวต์
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
แอตทริบิวต์ที่เชื่อมโยงกับชุดข้อมูล |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html49.jpeg?hl=th) |
ประเภท |
แอตทริบิวต์ |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
maxOccurs: |
ไร้ขอบเขต |
|
รุ่น |
info{0,1} , type{0,1} , (value*
| conceptValue{0,1}) |
เด็ก |
conceptValue, info, type,
value |
อินสแตนซ์ |
<attribute concept="" id="">
<info>{0,1}</info>
<type format="" ref="">{0,1}</type>
</attribute>
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
แนวคิด |
xs:QName |
|
|
ไม่บังคับ |
การอ้างอิงแนวคิดที่สอดคล้องกับค่าของแอตทริบิวต์ หากแอตทริบิวต์ระบุประเภท ประเภทต้องตรงกับประเภทของแนวคิดที่อ้างอิง การอ้างอิงไปยังแนวคิดภายนอกต้องอยู่ในรูปแบบ "prefix:other_concept_id" โดยที่ "คำนำหน้า" คือคำนำหน้าที่ใช้สำหรับเนมสเปซของชุดข้อมูลภายนอก (ดูเนมสเปซ XML) |
id |
LocalId |
|
|
ไม่บังคับ |
รหัสของแอตทริบิวต์แนวคิด ตัวระบุนี้ต้องไม่ซ้ำกันภายในแนวคิด (ข้ามแอตทริบิวต์และพร็อพเพอร์ตี้) ระบบอาจละเว้นรหัสหากมีการระบุแอตทริบิวต์แนวคิด ในกรณีดังกล่าว รหัสคือความเรียบง่ายที่สร้างขึ้นโดยให้ค่าชื่อในเครื่องของแนวคิดที่อ้างอิง เช่น <attribute
concept="unit:currency"/> เทียบเท่ากับ
<attribute id="currency"
concept="unit:currency"/> |
|
แหล่งที่มา |
<xs:element name="attribute" type="Attribute" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Attribute associated with the dataset.</xs:documentation>
</xs:annotation>
</xs:element>
|
องค์ประกอบ: dspl / หัวข้อ
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
ลำดับชั้นของหัวข้อที่ใช้จัดระเบียบเนื้อหาของชุดข้อมูล ลำดับของหัวข้อนั้นมีความหมายและควรเป็นไปตามการแสดงข้อมูลผ่านภาพที่แสดงหัวข้อเหล่านี้ |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html53.jpeg?hl=th) |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
|
รุ่น |
หัวข้อ+ |
เด็ก |
หัวข้อ |
อินสแตนซ์ |
<topics>
<topic id="" parentTopic="">{1,unbounded}</topic>
</topics>
|
แหล่งที่มา |
<xs:element name="topics" minOccurs="0">
<xs:annotation>
<xs:documentation>A hierarchy of topics used to organize the contents of
the dataset. The order in which topics are given is
meaningful and should be respected by visualizations
that displays these topics.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
องค์ประกอบ: dspl / topics / topic
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html50.jpeg?hl=th) |
ประเภท |
หัวข้อ |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
maxOccurs: |
ไร้ขอบเขต |
|
รุ่น |
ข้อมูล , หัวข้อ* |
เด็ก |
ข้อมูล, หัวข้อ |
อินสแตนซ์ |
<topic id="" parentTopic="">
<info>{1,1}</info>
<topic id="" parentTopic="">{0,unbounded}</topic>
</topic>
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
id |
รหัส |
|
|
จำเป็น |
ตัวระบุที่ไม่ซ้ำกันของหัวข้อในชุดข้อมูล |
parentTopic |
xs:QName |
|
|
ไม่บังคับ |
รหัสของหัวข้อหลักของหัวข้อนี้ หากมี
ระบุ parentTopic สำหรับหัวข้อที่แทรกอยู่ภายในหัวข้ออื่นๆ ไม่ได้ |
|
แหล่งที่มา |
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
|
องค์ประกอบ: dspl / แนวคิด
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
รายการแนวคิดที่กำหนดไว้ในชุดข้อมูลนี้ |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html57.jpeg?hl=th) |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
|
รุ่น |
แนวคิด+ |
เด็ก |
แนวคิด |
อินสแตนซ์ |
<concepts>
<concept extends="" id="">{1,unbounded}</concept>
</concepts>
|
แหล่งที่มา |
<xs:element name="concepts" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of concepts defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
องค์ประกอบ: dspl / แนวคิด / แนวคิด
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html33.jpeg?hl=th) |
ประเภท |
แนวคิด |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
maxOccurs: |
ไร้ขอบเขต |
|
รุ่น |
ข้อมูล , หัวข้อ* , ประเภท{0,1} ,
แอตทริบิวต์* , พร็อพเพอร์ตี้* , defaultValue{0,1} , ตาราง{0,1} |
เด็ก |
attribute, defaultValue, ข้อมูล, พร็อพเพอร์ตี้, ตาราง, หัวข้อ,
ประเภท |
อินสแตนซ์ |
<concept extends="" id="">
<info>{1,1}</info>
<topic ref="">{0,unbounded}</topic>
<type ref="">{0,1}</type>
<attribute concept="" id="">{0,unbounded}</attribute>
<property concept="" id="" isMapping="false" isParent="false">{0,unbounded}</property>
<defaultValue>{0,1}</defaultValue>
<table ref="">{0,1}</table>
</concept>
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
extends |
xs:QName |
|
|
ไม่บังคับ |
ตัวระบุที่ไม่ซ้ำกันของแนวคิดที่ครอบคลุมแนวคิดนี้ แนวคิดที่อ้างอิงอาจได้รับการกำหนดในชุดข้อมูลเดียวกันหรือภายนอก กล่าวคือ ในชุดชุดข้อมูลอื่น การอ้างอิงไปยังแนวคิดภายนอกต้องอยู่ในรูปแบบ "prefix:other_concept_id" โดยที่ "คำนำหน้า" คือคำนำหน้าที่ใช้สำหรับเนมสเปซของชุดข้อมูลภายนอก (ดูเนมสเปซ XML) |
id |
รหัส |
|
|
จำเป็น |
ตัวระบุที่ไม่ซ้ำกันของแนวคิด ซึ่งต้องไม่ซ้ำกันภายในชุดข้อมูล |
|
แหล่งที่มา |
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
|
องค์ประกอบ: dspl / ส่วน
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
รายการส่วนที่กำหนดไว้ในชุดข้อมูลนี้ |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html12.jpeg?hl=th) |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
|
รุ่น |
Slice+ |
เด็ก |
สไลซ์ |
อินสแตนซ์ |
<slices>
<slice id="">{1,unbounded}</slice>
</slices>
|
แหล่งที่มา |
<xs:element name="slices" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of slices defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
องค์ประกอบ: dspl / slices / Slice
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html2.jpeg?hl=th) |
ประเภท |
สไลซ์ |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
maxOccurs: |
ไร้ขอบเขต |
|
รุ่น |
info{0,1} , dimension+ , metric+
, ตาราง |
เด็ก |
มิติข้อมูล ข้อมูล เมตริก ตาราง |
อินสแตนซ์ |
<slice id="">
<info>{0,1}</info>
<dimension concept="">{1,unbounded}</dimension>
<metric concept="">{1,unbounded}</metric>
<table ref="">{1,1}</table>
</slice>
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
id |
รหัส |
|
|
จำเป็น |
ตัวระบุที่ไม่ซ้ำกันของสไลซ์ |
|
แหล่งที่มา |
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
|
องค์ประกอบ: dspl / ตาราง
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
หมายเหตุ |
รายการตารางที่กำหนดไว้ในชุดข้อมูลนี้ |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html44.jpeg?hl=th) |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
ขั้นต่ำ: |
0 |
|
รุ่น |
table+ |
เด็ก |
ตาราง |
อินสแตนซ์ |
<tables>
<table id="">{1,unbounded}</table>
</tables>
|
แหล่งที่มา |
<xs:element name="tables" minOccurs="0">
<xs:annotation>
<xs:documentation>A list of tables defined in this dataset.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
|
องค์ประกอบ: dspl / tables / ตาราง
เนมสเปซ |
http://schemas.google.com/dspl/2010 |
แผนภาพ |
![แผนภาพ](https://developers.google.cn/static/public-data/images/schema/dspl.html15.jpeg?hl=th) |
ประเภท |
ตาราง |
พร็อพเพอร์ตี้ |
เนื้อหา: |
ซับซ้อน |
maxOccurs: |
ไร้ขอบเขต |
|
รุ่น |
info{0,1} , column+ , data{0,1} |
เด็ก |
คอลัมน์, ข้อมูล, ข้อมูล |
อินสแตนซ์ |
<table id="">
<info>{0,1}</info>
<column format="" id="" type="">{1,unbounded}</column>
<data>{0,1}</data>
</table>
|
Attributes |
QName |
ประเภท |
ไม่เปลี่ยนแปลง |
ค่าเริ่มต้น |
ใช้ |
หมายเหตุ |
id |
รหัส |
|
|
จำเป็น |
ตัวระบุที่ไม่ซ้ำกันของตารางในชุดข้อมูล |
|
แหล่งที่มา |
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
|
แอตทริบิวต์: dspl / import / @namespace
เนมสเปซ |
ไม่มีเนมสเปซ |
หมายเหตุ |
เนมสเปซของชุดข้อมูลที่นำเข้า ซึ่งระบุเป็น URI ต้องเชื่อมโยงคำนำหน้ากับเนมสเปซนี้ก่อนจึงจะอ้างอิงเนื้อหาได้ ดูข้อมูลเพิ่มเติมเกี่ยวกับการใช้เนมสเปซและคำนำหน้าใน XML ได้ที่ [เนมสเปซ XML] |
พร็อพเพอร์ตี้ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="namespace" use="required">
<xs:annotation>
<xs:documentation>The namespace of the imported dataset, specified as
a URI. A prefix must be associated with this
namespace before its contents can be referenced. See
[XML Namespaces] for more information about the use
of namespaces and prefixes in XML.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
แอตทริบิวต์: dspl / import / @location
เนมสเปซ |
ไม่มีเนมสเปซ |
หมายเหตุ |
ตำแหน่งที่ไม่บังคับซึ่งพบคำจำกัดความของชุดข้อมูลที่นำเข้า ซึ่งระบุเป็น URL หากไม่ระบุตำแหน่ง ระบบการประมวลผลชุดข้อมูล DSPL นี้ต้องรู้ชุดข้อมูลที่นำเข้าอยู่แล้ว หมายเหตุการใช้งาน: ผู้นำเข้าชุดข้อมูลของ Google ไม่สนใจแอตทริบิวต์ตำแหน่ง ผู้นำเข้าของ Google ต้องรู้จักชุดข้อมูลที่นำเข้าล่วงหน้า |
พร็อพเพอร์ตี้ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="location" use="optional">
<xs:annotation>
<xs:documentation>An optional location where the definition of the
imported dataset can be found, specified as a
URL. If the location is omitted, the system
processing this DSPL dataset must already know the
imported dataset.
Implementation note: The Google dataset importer
ignores the location attribute. Any imported dataset
must be known by the Google importer beforehand.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
แอตทริบิวต์: dspl / @targetNamespace
เนมสเปซ |
ไม่มีเนมสเปซ |
หมายเหตุ |
ชุดข้อมูลแต่ละชุดอาจมีเนมสเปซเป้าหมาย เนมสเปซเป้าหมายคือ URI ที่ระบุชุดข้อมูลโดยไม่ซ้ำกัน ดูข้อมูลเพิ่มเติมเกี่ยวกับการใช้เนมสเปซใน XML ได้ที่ http://www.w3.org/TR/REC-xml-names/ หากไม่ได้ระบุ targetNamespace ระบบจะสร้างเนมสเปซเมื่อนำเข้าชุดข้อมูล |
ประเภท |
xs:anyURI |
พร็อพเพอร์ตี้ |
|
ใช้โดย |
|
แหล่งที่มา |
<xs:attribute name="targetNamespace" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation>Each dataset may provide a target namespace. The
target namespace is a URI that uniquely identifies the
dataset. For more information about the use of namespaces in XML,
see:
http://www.w3.org/TR/REC-xml-names/
If no targetNamespace is provided, then a namespace will be
generated when the dataset is imported.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
สร้างโดยใช้ตัวแก้ไข XML ของ oXygen