이 페이지와 연결된 하위 페이지는 DSPL XML 스키마를 문서화합니다.
이 자료는 낮은 수준의 언어 세부정보를 알아보려는 고급 사용자를 대상으로 합니다. 대부분의 사용자는 개발자 가이드의 내용만으로 DSPL 데이터 세트를 만들고 수정할 수 있습니다.
전체 XML 스키마는 SDPL 코드 사이트에서 XSD 형식으로 다운로드할 수 있습니다.
요소: dspl
네임스페이스 |
http://schemas.google.com/dspl/2010 |
주석 |
DSPL 사양은 데이터 세트를 설명합니다. 데이터 세트는 네임스페이스로 식별됩니다. 데이터 세트는 다음 요소로 구성됩니다. - 테이블: 데이터 세트에 정의된 개념 및 슬라이스 데이터 - 개념: 데이터 세트에 사용된 사용자 정의 정의 및 구조 - 슬라이스: 데이터 세트에 있는 측정기준 및 측정항목의 조합 - 주제: 데이터 세트의 개념을 구성하는 데 사용되는 계층적 라벨 |
다이어그램 |
|
속성 |
|
모델 |
import* , info , provider ,
attribute* , topics{0,1} , 개념{0,1} , 슬라이스{0,1} , 테이블{0,1} |
Children |
속성, 개념, 가져오기, 정보, 제공업체, 슬라이스,
테이블, 주제 |
인스턴스 |
<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>
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
targetNamespace |
xs:어떤 URI |
|
|
선택사항 |
각 데이터 세트는 대상 네임스페이스를 제공할 수 있습니다. 대상 네임스페이스는 데이터 세트를 고유하게 식별하는 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 스키마 가져오기 지시문을 모델링합니다. 외부 데이터 세트에 정의된 요소를 사용하려면 가져오기 지시어를 사용하여 외부 데이터 세트를 참조해야 합니다. |
다이어그램 |
|
속성 |
content: |
복잡함 |
minCcurs: |
0 |
maxOccurs: |
unbounded |
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
위치 |
|
|
|
선택사항 |
가져온 데이터 세트의 정의를 확인할 수 있는 URL로, 위치를 지정합니다. 위치가 생략되면 이 DSPL 데이터 세트를 처리하는 시스템에서 이미 가져온 데이터 세트를 알고 있어야 합니다. 구현 참고사항: Google 데이터 세트 가져오기 도구는
위치 속성을 무시합니다. 가져온 모든 데이터 세트는 Google 가져오기 도구가 미리 알고 있어야 합니다. |
namespace |
|
|
|
필수 |
가져온 데이터 세트의 네임스페이스로, 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 |
주석 |
데이터 세트에 대한 일반적인 정보입니다. |
다이어그램 |
|
유형 |
정보 |
속성 |
|
모델 |
이름, 설명{0,1}, URL{0,1} |
Children |
설명, 이름, 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 / 제공업체
네임스페이스 |
http://schemas.google.com/dspl/2010 |
주석 |
데이터 세트 제공업체에 대한 일반 정보입니다. |
다이어그램 |
|
유형 |
정보 |
속성 |
|
모델 |
이름 , 설명{0,1} , URL{0,1} |
Children |
설명, 이름, 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 |
주석 |
데이터 세트와 연결된 속성입니다. |
다이어그램 |
|
유형 |
속성 |
속성 |
content: |
복잡함 |
minCcurs: |
0 |
maxOccurs: |
unbounded |
|
모델 |
info{0,1} , type{0,1}, (value*
| conceptValue{0,1}) |
Children |
conceptValue, info, type,
value |
인스턴스 |
<attribute concept="" id="">
<info>{0,1}</info>
<type format="" ref="">{0,1}</type>
</attribute>
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
개념 |
xs:QName |
|
|
선택사항 |
속성 값에 해당하는 개념에 대한 참조입니다. 속성이 유형을 지정하면 유형이 참조된 개념의 유형과 일치해야 합니다. 외부 개념에 대한 참조는 'prefix:other_concept_id' 형식이어야 합니다. 여기서 'prefix'는 외부 데이터 세트의 네임스페이스에 사용되는 프리픽스입니다 (XML 네임스페이스 참조). |
id |
지역 ID |
|
|
선택사항 |
개념 속성의 ID입니다. 이 식별자는 개념 및 속성 내에서 개념 내에서 고유해야 합니다. concept 속성이 지정된 경우 ID를 생략할 수 있습니다. 이 경우 ID는 참조된 개념의 로컬 이름을 사용하여 암시적으로 생성됩니다. 예를 들어 <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 |
주석 |
데이터 세트의 콘텐츠를 구성하는 데 사용되는 주제의 계층 구조입니다. 주제가 제공되는 순서는 의미가 있으며 이러한 주제를 표시하는 시각화에서 지켜야 합니다. |
다이어그램 |
|
속성 |
|
모델 |
주제+ |
Children |
주제 |
인스턴스 |
<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>
|
네임스페이스 |
http://schemas.google.com/dspl/2010 |
다이어그램 |
|
유형 |
주제 |
속성 |
content: |
복잡함 |
maxOccurs: |
unbounded |
|
모델 |
정보 , 주제* |
Children |
정보, 주제 |
인스턴스 |
<topic id="" parentTopic="">
<info>{1,1}</info>
<topic id="" parentTopic="">{0,unbounded}</topic>
</topic>
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
id |
ID |
|
|
필수 |
데이터 세트에 있는 주제의 고유 식별자입니다. |
parentTopic |
xs:QName |
|
|
선택사항 |
이 주제의 상위 주제 ID입니다(상위 주제가 있는 경우).
다른 주제 내에서 인라인 처리된 주제에는 parentTopic을 지정할 수 없습니다. |
|
소스 |
<xs:element name="topic" type="Topic" maxOccurs="unbounded"/>
|
요소: dspl / 개념
네임스페이스 |
http://schemas.google.com/dspl/2010 |
주석 |
이 데이터 세트에 정의된 개념 목록입니다. |
다이어그램 |
|
속성 |
|
모델 |
개념+ |
Children |
개념 |
인스턴스 |
<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>
|
네임스페이스 |
http://schemas.google.com/dspl/2010 |
다이어그램 |
|
유형 |
개념 |
속성 |
content: |
복잡함 |
maxOccurs: |
unbounded |
|
모델 |
정보 , 주제* , 유형{0,1} , 속성* , 속성* , 기본값{0,1} , 테이블{0,1} |
Children |
속성, 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>
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
확장 |
xs:QName |
|
|
선택사항 |
이 개념이 확장되는 개념의 고유 식별자입니다. 참조된 개념은 동일한 데이터 세트 또는 외부, 즉 다른 데이터 세트에 정의될 수 있습니다. 외부 개념에 대한 참조는 'prefix:other_concept_id' 형식이어야 합니다. 여기서 'prefix'는 외부 데이터 세트의 네임스페이스에 사용되는 프리픽스입니다 (XML 네임스페이스 참조). |
id |
ID |
|
|
필수 |
개념의 고유 식별자로, 데이터 세트 내에서 전역적으로 고유해야 합니다. |
|
소스 |
<xs:element name="concept" type="Concept" maxOccurs="unbounded"/>
|
요소: dspl / 슬라이스
네임스페이스 |
http://schemas.google.com/dspl/2010 |
주석 |
이 데이터 세트에 정의된 슬라이스 목록 |
다이어그램 |
|
속성 |
|
모델 |
슬라이스+ |
Children |
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>
|
네임스페이스 |
http://schemas.google.com/dspl/2010 |
다이어그램 |
|
유형 |
슬라이스 |
속성 |
content: |
복잡함 |
maxOccurs: |
unbounded |
|
모델 |
info{0,1} , 측정기준+ , 측정항목+
, 표 |
Children |
측정기준, 정보, 측정항목,
테이블 |
인스턴스 |
<slice id="">
<info>{0,1}</info>
<dimension concept="">{1,unbounded}</dimension>
<metric concept="">{1,unbounded}</metric>
<table ref="">{1,1}</table>
</slice>
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
id |
ID |
|
|
필수 |
슬라이스의 고유 식별자입니다. |
|
소스 |
<xs:element name="slice" type="Slice" maxOccurs="unbounded"/>
|
요소: dspl / 테이블
네임스페이스 |
http://schemas.google.com/dspl/2010 |
주석 |
이 데이터 세트에 정의된 테이블 목록 |
다이어그램 |
|
속성 |
|
모델 |
표+ |
Children |
표 |
인스턴스 |
<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>
|
네임스페이스 |
http://schemas.google.com/dspl/2010 |
다이어그램 |
|
유형 |
표 |
속성 |
content: |
복잡함 |
maxOccurs: |
unbounded |
|
모델 |
정보{0,1} , 열+ , 데이터{0,1} |
Children |
열, 데이터, 정보 |
인스턴스 |
<table id="">
<info>{0,1}</info>
<column format="" id="" type="">{1,unbounded}</column>
<data>{0,1}</data>
</table>
|
속성 |
QName |
유형 |
해결됨 |
기본 |
용도 |
Annotation |
id |
ID |
|
|
필수 |
데이터 세트에 있는 테이블의 고유 식별자입니다. |
|
소스 |
<xs:element name="table" type="Table" maxOccurs="unbounded"/>
|
네임스페이스 |
네임스페이스 없음 |
주석 |
가져온 데이터 세트의 네임스페이스로, 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>
|
네임스페이스 |
네임스페이스 없음 |
주석 |
가져온 데이터 세트의 정의를 확인할 수 있는 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:어떤 URI |
속성 |
|
사용 중인 광고 |
|
소스 |
<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>
|
oXygen XML 편집기를 사용하여 만듭니다.