Thành phần: Thuộc tính
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Phần tử: Thuộc tính / thông tin
Không gian tên |
http://schemas.google.com/dspl/2010 |
Chú thích |
Thông tin dạng văn bản về thuộc tính. |
Sơ đồ |
 |
Loại |
Thông tin |
Thuộc tính |
nội dung: |
phức tạp |
minOccurs: |
0 |
|
Mẫu |
tên , nội dung mô tả{0,1} , url{0,1} |
Thiếu nhi |
nội dung mô tả, tên, URL |
Thực thể |
<info>
<name>{1,1}</name>
<description>{0,1}</description>
<url>{0,1}</url>
</info>
|
Nguồn |
<xs:element name="info" type="Info" minOccurs="0">
<xs:annotation>
<xs:documentation>Textual information about the attribute.</xs:documentation>
</xs:annotation>
</xs:element>
|
Không gian tên |
http://schemas.google.com/dspl/2010 |
Chú thích |
Loại dữ liệu của thuộc tính. |
Sơ đồ |
 |
Thuộc tính |
nội dung: |
phức tạp |
minOccurs: |
0 |
|
Thuộc tính |
QName |
Loại |
Cố định |
Mặc định |
Sử dụng |
Annotation |
định dạng |
xs:string |
|
|
tùy chọn |
Định dạng cho giá trị, dùng để phân tích cú pháp văn bản
biểu diễn của các giá trị. Xem [Quy cách định dạng ngày] để
ngày. |
tham chiếu |
DataType |
|
|
bắt buộc |
|
|
Nguồn |
<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>
|
Loại phức tạp: Thuộc tính
Không gian tên |
http://schemas.google.com/dspl/2010 |
Chú thích |
Một thuộc tính của tập dữ liệu hoặc khái niệm. |
Sơ đồ |
 |
Được sử dụng trong |
|
Mẫu |
info{0,1} , type{0,1} , (value*
| conceptValue{0,1}) |
Thiếu nhi |
conceptValue, thông tin, loại,
giá trị |
Thuộc tính |
QName |
Loại |
Cố định |
Mặc định |
Sử dụng |
Annotation |
khái niệm |
xs:QName |
|
|
tùy chọn |
Tham chiếu đến khái niệm tương ứng với các giá trị
của thuộc tính đó. Nếu thuộc tính chỉ định một loại, thì loại
phải khớp với loại của khái niệm được tham chiếu. Tham chiếu đến một
khái niệm bên ngoài phải ở dạng
"prefix:other_Concept_id", trong đó "prefix" là
tiền tố dùng cho không gian tên của tập dữ liệu bên ngoài (xem XML
vùng chứa tên). |
id |
LocalId |
|
|
tùy chọn |
Mã của thuộc tính khái niệm. Giá trị nhận dạng này phải là
duy nhất trong khái niệm (trên các thuộc tính và thuộc tính). Chiến lược phát hành đĩa đơn
id có thể được bỏ qua nếu thuộc tính khái niệm đã được chỉ định. Trong đó
trường hợp, id được tạo ngầm ẩn với giá trị tên cục bộ của
khái niệm được tham chiếu. Ví dụ: <attribute
concept="unit:currency"/> tương đương với
<attribute id="currency"
concept="unit:currency"/> |
|
Nguồn |
<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>
|
Không gian tên |
Không có vùng chứa tên |
Loại |
DataType |
Thuộc tính |
|
Phương diện |
liệt kê |
string |
|
liệt kê |
số thực dấu phẩy động |
|
liệt kê |
số nguyên |
|
liệt kê |
boolean |
|
liệt kê |
date |
|
liệt kê |
khái niệm |
|
|
Được sử dụng trong |
|
Nguồn |
<xs:attribute name="ref" type="DataType" use="required"/>
|
Không gian tên |
Không có không gian tên |
Chú thích |
Định dạng cho giá trị, dùng để phân tích cú pháp nội dung trình bày bằng văn bản
của các giá trị. Hãy xem [Quy cách định dạng ngày] để biết ngày. |
Loại |
xs:string |
Thuộc tính |
|
Được sử dụng trong |
|
Nguồn |
<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>
|
Không gian tên |
Không có không gian tên |
Chú thích |
Mã của thuộc tính khái niệm. Giá trị nhận dạng này phải là duy nhất
trong khái niệm (trên các thuộc tính và thuộc tính). Mã này có thể là
bạn sẽ bỏ qua nếu thuộc tính khái niệm đã được chỉ định. Trong trường hợp đó, mã nhận dạng là
hàm ngầm ẩn được tạo bằng giá trị là tên cục bộ của khái niệm được tham chiếu.
Ví dụ: <attribute view="unit:currency"/> là
tương đương với <attribute id="currency"
concept="unit:currency"/> |
Loại |
LocalId |
Thuộc tính |
|
Thuộc tính |
|
Được sử dụng trong |
|
Nguồn |
<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>
|
Thuộc tính: Thuộc tính / @concept
Không gian tên |
Không có không gian tên |
Chú thích |
Tham chiếu đến một khái niệm tương ứng với các giá trị của
. Nếu thuộc tính chỉ định một loại, thì loại đó phải khớp
loại khái niệm được tham chiếu. Tham chiếu đến một khái niệm bên ngoài phải có dạng "prefix:other_concept_id", trong đó "prefix" là tiền tố dùng cho không gian tên của tập dữ liệu bên ngoài (xem không gian tên XML). |
Loại |
xs:QName |
Thuộc tính |
|
Được sử dụng trong |
|
Nguồn |
<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>
|
Được tạo bằng
Trình chỉnh sửa XML oXygen.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-10-13 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-10-13 UTC."],[[["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"]]