<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<dspl targetNamespace="http://www.google.com/publicdata/dataset/google/unit"
xmlns="http://schemas.google.com/dspl/2010"
xmlns:entity="http://www.google.com/publicdata/dataset/google/entity">
<import namespace="http://www.google.com/publicdata/dataset/google/entity"/>
<info>
<name>
<value xml:lang="en">Unit concepts</value>
</name>
<description>
<value xml:lang="en">Concepts for to representing units.</value>
</description>
<url>
<value xml:lang="en">http://code.google.com/apis/publicdata/docs/canonical/unit.html</value>
</url>
</info>
<provider>
<name>
<value xml:lang="en">Google Inc.</value>
</name>
<description>
<value xml:lang="en">Google Inc.</value>
</description>
<url>
<value xml:lang="en">http://www.google.com</value>
</url>
</provider>
<concepts>
<concept id="unit" extends="entity:entity">
<info>
<name>
<value xml:lang="en">Unit</value>
</name>
<description>
<value xml:lang="en">
Specifies the unit associated with a metric concept.
Example:
<![CDATA[<concept id="area_unit" extends="unit:unit">
<info>
<name>
<value>Area in square kilometers</value>
</name>
</info>
<table ref="area_unit_table"/>
</concept>]]>
The table contains a single row that contains the property values:
symbol,symbol_position,unit_text
km²,END,square kilometers
One can then use this unit in defining a metric concept:
<![CDATA[<concept id="country_area" extends="quantity:magnitude">
<info>
<name>
<value>Country area in square kilometers</value>
</name>
</info>
<attribute id="unit" concept="area_unit"/>
<table ref="country_area_table"/>
</concept>]]>
</value>
</description>
</info>
<property id="symbol">
<info>
<name>
<value xml:lang="en">The symbol associated with a unit.</value>
</name>
</info>
<type ref="string"/>
</property>
<property concept="symbol_position"/>
<property id="unit_text">
<info>
<name>
<value xml:lang="en">Unit text</value>
</name>
<description>
<value xml:lang="en">
Descriptive text that can be displayed next to a value.</value>
</description>
</info>
<type ref="string"/>
</property>
</concept>
<concept id="symbol_position">
<info>
<name>
<value xml:lang="en">Unit symbol position</value>
</name>
<description>
<value xml:lang="en">Unit symbol position</value>
</description>
</info>
<type ref="string"/>
<defaultValue>END</defaultValue>
<table ref="unit_symbol_position_table"/>
</concept>
<concept id="currency" extends="unit">
<info>
<name>
<value xml:lang="en">Currency unit</value>
</name>
<description>
<value xml:lang="en">
Specifies the currency associated with a metric concept.
Each currency is identified by its 3-letter currency code (ISO 4217).
</value>
</description>
</info>
<table ref="currency_table"/>
</concept>
</concepts>
<tables>
<table id="unit_symbol_position_table">
<column id="symbol_position" type="string"/>
<data>
<file format="csv" encoding="utf-8">unit_symbol_positions.csv</file>
</data>
</table>
<table id="currency_table">
<column id="currency" type="string"/>
<column id="unit_text" type="string"/>
<column id="symbol" type="string"/>
<column id="symbol_position" type="string">
<value>START</value>
</column>
<data>
<file format="csv" encoding="utf-8">currencies.csv</file>
</data>
</table>
</tables>
</dspl>
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2023-01-19 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]