คอมโพเนนต์: แอตทริบิวต์

องค์ประกอบ: แอตทริบิวต์ / ข้อมูล

เนมสเปซ http://schemas.google.com/dspl/2010
คำอธิบายประกอบ ข้อมูลที่เป็นข้อความเกี่ยวกับแอตทริบิวต์
แผนภาพ แผนภาพ dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
ประเภท ข้อมูล
พร็อพเพอร์ตี้
เนื้อหา: ซับซ้อน
minOccurs: 0
รุ่น name , description{0,1} , url{0,1}
เด็ก รายละเอียด, ชื่อ, 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
คำอธิบายประกอบ ประเภทข้อมูลของแอตทริบิวต์
แผนภาพ แผนภาพ dspl14.tmp#id21 dspl14.tmp#id23
พร็อพเพอร์ตี้
เนื้อหา: ซับซ้อน
minOccurs: 0
Attributes
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
คำอธิบายประกอบ แอตทริบิวต์ของชุดข้อมูลหรือแนวคิด
แผนภาพ แผนภาพ dspl14.tmp#id24 dspl14.tmp#id26 dspl14.tmp#id19 dspl14.tmp#id20 dspl0.tmp#id10 dspl0.tmp#id12 dspl0.tmp#id9
ใช้โดย
องค์ประกอบ แนวคิด/แอตทริบิวต์, dspl/attribute
รุ่น info{0,1} , type{0,1} , (value* | conceptValue{0,1})
เด็ก conceptValue, info, type, value
Attributes
QName ประเภท คงที่ ค่าเริ่มต้น ใช้ หมายเหตุ
แนวคิด xs:QName ไม่บังคับ การอ้างอิงแนวคิดที่สอดคล้องกับค่าต่างๆ ของแอตทริบิวต์ หากแอตทริบิวต์ระบุประเภท แล้วประเภท ต้องตรงกับประเภทของแนวคิดที่อ้างอิง การอ้างอิงถึงแนวคิดภายนอกต้องอยู่ในรูปแบบ "prefix:other_concept_id" โดยที่ "prefix" คือคำนำหน้าที่ใช้สำหรับเนมสเปซของชุดข้อมูลภายนอก (ดูเนมสเปซ XML)
id LocalId ไม่บังคับ รหัสของแอตทริบิวต์แนวคิด ตัวระบุนี้ต้องไม่ซ้ำกันภายในแนวคิด (ในแอตทริบิวต์และพร็อพเพอร์ตี้) อาจละเว้น id ได้หากมีการระบุแอตทริบิวต์แนวคิดไว้ ในนั้น รหัสคือความเรียบง่ายที่สร้างขึ้นด้วยค่า ชื่อท้องถิ่นของ แนวคิดที่อ้างอิง เช่น <attribute concept=&quot;unit:currency&quot;/&gt; เทียบเท่ากับ <attribute id="currency" concept=&quot;unit:currency&quot;/&gt;
แหล่งที่มา
<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
พร็อพเพอร์ตี้
ใช้: จำเป็น
ข้อมูลประกอบ
enumeration สตริง
enumeration จำนวนลอยตัว
การแจงนับ จำนวนเต็ม
enumeration boolean
enumeration วันที่
enumeration แนวคิด
ใช้โดย
องค์ประกอบ แอตทริบิวต์/ประเภท
แหล่งที่มา
<xs:attribute name="ref" type="DataType" use="required"/>

แอตทริบิวต์: แอตทริบิวต์ / type / @format

เนมสเปซ ไม่มีเนมสเปซ
คำอธิบายประกอบ รูปแบบของค่า ใช้เพื่อแยกวิเคราะห์การนำเสนอข้อความ มูลค่า ดูวันที่ได้ที่ [ข้อกำหนดรูปแบบวันที่]
ประเภท 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

เนมสเปซ ไม่มีเนมสเปซ
คำอธิบายประกอบ รหัสของแอตทริบิวต์แนวคิด ตัวระบุนี้ต้องไม่ซ้ำกันภายในแนวคิด (ในแอตทริบิวต์และพร็อพเพอร์ตี้) รหัสอาจเป็น ละเว้นหากระบุแอตทริบิวต์แนวคิดไว้ ในกรณีดังกล่าว รหัสคือ ความเรียบง่ายที่สร้างขึ้นด้วยชื่อท้องถิ่นของแนวคิดที่อ้างอิง เช่น <attribute concept="unit:currency"/> เท่ากับ เทียบเท่ากับ <attribute id="currency" concept=&quot;unit:currency&quot;/&gt;
ประเภท LocalId
พร็อพเพอร์ตี้
ใช้: ไม่บังคับ
ข้อมูลประกอบ
maxLength 64
ใช้โดย
ประเภทที่ซับซ้อน แอตทริบิวต์
แหล่งที่มา
<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>

แอตทริบิวต์: แอตทริบิวต์ / @แนวคิด

เนมสเปซ ไม่มีเนมสเปซ
คำอธิบายประกอบ การอ้างอิงแนวคิดที่สอดคล้องกับค่าของฟิลด์ หากแอตทริบิวต์ระบุประเภท ประเภทนั้นต้องตรงกับประเภทของแนวคิดที่อ้างอิง การอ้างอิงไปยังแนวคิดภายนอก ต้องอยู่ในรูปแบบ "คำนำหน้า:other_concept_id" โดยที่ "คำนำหน้า" เป็นคำนำหน้าที่ใช้สำหรับเนมสเปซภายนอก ชุดข้อมูล (ดูเนมสเปซ 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 Editor