元件:屬性
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
元素:屬性/資訊
命名空間 |
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 attribute.</xs:documentation>
</xs:annotation>
</xs:element>
|
元素:屬性 / 類型
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
屬性的資料類型。 |
圖表 |
 |
屬性 |
|
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
格式 |
xs:string |
|
|
選用 |
值的格式,用來剖析文字
這些值。請參閱 [日期格式規格]
日期。 |
參考資料 |
DataType |
|
|
必填 |
|
|
來源 |
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
|
複雜類型:屬性
命名空間 |
http://schemas.google.com/dspl/2010 |
註解 |
資料集或概念的屬性。 |
圖表 |
 |
使用這項素材資源的廣告 |
|
型號 |
info{0,1} , type{0,1} , (value*
| conceptValue{0,1}) |
子項 |
conceptValue、info、type、
值 |
屬性 |
QName |
類型 |
固定 |
預設 |
使用 |
註解 |
概念 |
xs:QName |
|
|
選用 |
所對應概念的概念參照
屬性。如果屬性指定了類型,請將類型
必須符合所參照概念的類型。對於
外部概念必須採用下列格式
「prefix:other_concept_id」,其中「prefix」為
外部資料集命名空間使用的前置字串 (請參閱 XML
命名空間)。 |
id |
LocalId |
|
|
選用 |
概念屬性的 ID,此 ID 必須是
屬於特定類別 (所有屬性和屬性) 的不重複值如果指定了概念屬性,系統可能會省略 ID。在這個例子中
系統會建立隱含的 ID,並將值做為
所學概念舉例來說,<attribute concept="unit:currency"/> 等同於 <attribute id="currency" concept="unit:currency"/> |
|
來源 |
<xs:complexType name="Attribute">
<xs:annotation>
<xs:documentation>An attribute of a dataset or a concept.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the attribute.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" minOccurs="0">
<xs:annotation>
<xs:documentation>The data type of the attribute.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="ref" type="DataType" use="required"/>
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:group ref="ValuesGroup" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept attribute is specified. In that case, an id is
implicity created with value the local name of the referenced concept. For instance
<attribute concept="unit:currency"/>
is equivalent to
<attribute id="currency" concept="unit:currency"/></xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the attribute.
If the attribute specifies a type, then the type must match the type of
the referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|
屬性:屬性/類型/@ref
命名空間 |
沒有命名空間 |
類型 |
DataType |
屬性 |
|
facet |
列舉 |
字串 |
|
列舉 |
float |
|
列舉 |
整數 |
|
列舉 |
布林值 |
|
列舉 |
日期 |
|
列舉 |
概念 |
|
|
使用這項素材資源的廣告 |
|
來源 |
<xs:attribute name="ref" type="DataType" use="required"/>
|
命名空間 |
沒有命名空間 |
註解 |
值的格式,用於剖析值的文字表示法。請參閱 [日期格式規格] 查看日期。 |
類型 |
xs:string |
屬性 |
|
使用這項素材資源的廣告 |
|
來源 |
<xs:attribute name="format" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>A format for the value, used to parse a textual
representation of the values. See [Date formats spec]
for dates.</xs:documentation>
</xs:annotation>
</xs:attribute>
|
屬性:屬性 / @id
命名空間 |
沒有命名空間 |
註解 |
概念屬性的 ID,這個 ID 不得重複
概念性 (包括屬性和屬性)ID 可能是
如果已指定概念屬性,則省略。在此情況下,ID 就是
以所參照概念的本地名稱建立隱含的隱含意圖。
例如 <attribute concept="unit:currency"/>為
等於 <attribute id="currency"
concept="unit:currency"/> |
類型 |
LocalId |
屬性 |
|
facet |
|
使用這項素材資源的廣告 |
|
來源 |
<xs:attribute name="id" type="LocalId" use="optional">
<xs:annotation>
<xs:documentation>The id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitted if the concept attribute is specified. In that case, an id is
implicity created with value the local name of the referenced concept. For instance
<attribute concept="unit:currency"/>
is equivalent to
<attribute id="currency" concept="unit:currency"/></xs:documentation>
</xs:annotation>
</xs:attribute>
|
屬性:屬性/@concept
命名空間 |
沒有命名空間 |
註解 |
所定義概念的參照,而
屬性。如果屬性指定了類型,則類型必須符合
參照概念的類型外部概念參照
格式必須為「prefix:other_concept_id」,其中
「prefix」是外部命名空間所用的前置字串
(請參閱 XML 命名空間)。 |
類型 |
xs:QName |
屬性 |
|
使用這項素材資源的廣告 |
|
來源 |
<xs:attribute name="concept" type="xs:QName" use="optional">
<xs:annotation>
<xs:documentation>A reference to a concept that corresponds to the values of the attribute.
If the attribute specifies a type, then the type must match the type of
the referenced concept.
A reference to an external concept must be of the form "prefix:other_concept_id",
where "prefix" is the prefix used for the namespace of the external dataset
(see XML namespaces).</xs:documentation>
</xs:annotation>
</xs:attribute>
|
使用
oXygen XML 編輯器。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-12 (世界標準時間)。
[[["容易理解","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"]],["上次更新時間:2024-09-12 (世界標準時間)。"],[[["Attribute describes a dataset or concept attribute with optional textual information, data type, and values."],["It can optionally reference a concept corresponding to the attribute values."],["The attribute's data type can be specified using a \"ref\" attribute and optionally formatted using a \"format\" attribute."],["An optional \"id\" can be provided, which must be unique within the concept, otherwise it's implicitly derived from the referenced concept."]]],["The core content describes the structure and properties of an \"Attribute\" within a dataset or concept. An attribute can include optional textual information (`info`), its data `type` (required), and value. The `type` specifies the data type and can have a `format`. Attributes have an optional `id` for unique identification and can refer to another `concept`. The `info` section may include name, description, and URL.\n"]]