组件:属性
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
元素:属性 / 信息
| 命名空间 |
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" min>Occ<urs="0&q>uot;
< xs:annotation
> xs:documentationThe data ty<pe of the attribu>te.</xs:documentat>ion<
/xs:annotat>ion
< xs:complexType
xs:attribute name="ref" t>ype=&<quot;DataType" use="required"/
xs:attri>bute na<me="form>at" <type="xs:st>ring" use="optional"
xs:annotation
xs:documentationA format for the value, used to parse a textual
<representation of> the va<lues. See [Dat>e for<mats spec]
> < for >d<ates./xs:do>cumentation
/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”,其中“前缀”为
用于外部数据集的命名空间的前缀(请参阅 XML)
命名空间)。 |
| id |
LocalId |
|
|
可选 |
概念属性的 ID。此标识符必须是
在概念内是唯一的(在所有属性和属性之间)。通过
如果指定了 concept 属性,则可以省略 id。在该部分中,
会隐式创建 ID,其值为
引用的概念例如 <attribute
concept="unit:currency"/>等同于
<attribute id="currency"
concept="unit:currency"/> |
|
| 来源 |
<xs:complexType name="Attri>but<e"
xs:>annot<ation
xs:doc>umentationAn attribute of a dataset or <a concept./xs:doc>ume<ntation
/xs:>ann<otation
x>s:seq<uence
xs:element name="info" type=>"I<nfo" min>Occurs=&q<uot;0"
> xs:annotation
xs:documentation<Textual informati>on abou<t the attribut>e./xs<:documentat>ion
< /xs:annotation
/xs:element
> xs:<element name=>"typ<e" minOccur>s="0"
xs:annota<tion
xs:d>ocument<ationThe data >type of< the attribute>./xs:docu<mentation
/xs:annotation
xs:complexType
> xs:a<ttribute name="ref" type="DataType" us>e="req<uired"/
> xs:at<tribute name=&qu>ot;format" type="xs:string" use="optional"
xs:annotation
xs:documentationA format for the value, <used to parse a t>extual
< re>presentat<ion of the va>lues. S<ee [Date format>s spe<c]
> < for dates./xs:documentation
>/xs<:annotation
> < /xs:attribute
/xs:complexType
/xs:ele>ment
< xs:group >ref=&qu<ot;ValuesGroup&q>uot; minOccurs="0"/
/xs:sequence
xs:attribute name="id" type="LocalId" use="optional"
xs:annotation
xs:documentationThe id of the concept attribute. This identifier must be unique within the concept
(across attributes and properties).
The id may be omitt<ed if the concept attribute is spe>cified. In that case, an id is
< implicity created with value the local name of ><the referenced co>ncept<. For instance>
< attr>ibu<te concept="unit:currency"/
is equiva>lent <to
> attrib<ute id="cur>rency" concept="unit:currency"//xs:documentation
/xs:annotation
/xs:attribute
xs:attribute name="concept" type="xs:QName" use="optional"
xs:annotation
xs:documentationA 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 concep>t.
< A ref>ere<nce to an ext>e<rnal concept mu>st 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
|
| 命名空间 |
没有命名空间 |
| 类型 |
DataType |
| 属性 |
|
| 分面 |
| 枚举 |
字符串 |
|
| 枚举 |
float |
|
| 枚举 |
integer |
|
| 枚举 |
布尔值 |
|
| 枚举 |
date |
|
| 枚举 |
concept |
|
|
| 使用方数量 |
|
| 来源 |
<xs:attribute name="ref" type="DataType&q>uot; use="required"/
|
| 命名空间 |
没有命名空间 |
| 注释 |
值的格式,用于解析文本表示
值。如需了解日期,请参阅 [日期格式规范]。 |
| 类型 |
xs:string |
| 属性 |
|
| 使用方数量 |
|
| 来源 |
<xs:attribute name="format" type="xs:string&>quo<t; use=">optio<nal"
xs:a>nnotation
xs:documentationA format for the value, used to parse a textual
representation of the values. See [Date formats sp<ec]
> <for dates./xs:>d<ocumentation<>/span>
/xs:annotation
/xs:attribute
|
| 命名空间 |
没有命名空间 |
| 注释 |
概念属性的 ID。此标识符必须是唯一的
(跨属性和属性)。ID 可以是
如果指定了 concept 属性,则应将其省略。在这种情况下,ID 就是
使用所引用概念的本地名称值创建的隐式。
例如 <attribute concept="unit:currency"/>为
等同于 <attribute id="currency"
concept="unit:currency"/> |
| 类型 |
LocalId |
| 属性 |
|
| 分面 |
|
| 使用方数量 |
|
| 来源 |
<xs:attribute name="id" type="LocalId&>quo<t; use=">optio<nal"
xs:a>nnotation
xs:documentationThe 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 con<cept. For instance
attr>ibute concept="unit:currency"/<
is equivalent to
attribut><e id="curren>cy&<quot; concept=>&<quot;unit:cur>rency"//xs:documentation
/xs:annotation
/xs:attribute
|
| 命名空间 |
没有命名空间 |
| 注释 |
对与
属性。如果属性指定了类型,则该类型必须匹配
所引用概念的类型。对外部概念的引用
必须采用“prefix:other_concept_id”格式,其中
"前缀"是外部命名空间的命名空间的前缀,
数据集(请参阅 XML 命名空间)。 |
| 类型 |
xs:QName |
| 属性 |
|
| 使用方数量 |
|
| 来源 |
<xs:attribute name="concept" type="xs:QName&>quo<t; use=">optio<nal"
xs:a>nnotation
xs:documentationA 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 th<e external datase>t
< (see >X<ML namespaces>)./xs:documentation
/xs:annotation
/xs:attribute
|
使用
oXygen XML Editor。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-04-16。
[null,null,["最后更新时间 (UTC):2026-04-16。"],[],["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"]]