רכיב: Attribute

רכיב: מאפיין / מידע

מרחב שמות http://schemas.google.com/dspl/2010
הערות מידע טקסטואלי של המאפיין.
תרשים דיאגרמה dspl4.tmp#id7 dspl4.tmp#id14 dspl4.tmp#id15 dspl4.tmp#id6
סוג מידע
מאפיינים
content: מורכב
minOccurs: 0
דגם name , description{0,1} , url{0,1}
ילדים description, name, url
Instance
<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>

רכיב: Attribute / סוג

מרחב שמות http://schemas.google.com/dspl/2010
הערות סוג הנתונים של המאפיין.
תרשים תרשים dspl14.tmp#id21 dspl14.tmp#id23
מאפיינים
content: מורכב
minOccurs: 0
מאפיינים
QName סוג קבוע ברירת מחדל שימוש הערה
פורמט xs:string אופציונלי פורמט של הערך, המשמש לניתוח טקסט ייצוג בווקטור של הערכים. אפשר לעיין ב[מפרט לפורמטים של תאריכים] תאריכים.
ref 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/מאפיין
דגם info{0,1} , type{0,1} , (value* | conceptValue{0,1})
ילדים conceptValue, info, type, ערך
מאפיינים
QName סוג קבוע ברירת מחדל שימוש הערה
קונספט xs:QName אופציונלי הפניה למושג שתואם לערכים של המאפיין. אם המאפיין מציין סוג, הסוג חייב להתאים לסוג של הקונספט שאליו קיימת הפניה. הפניה אל מושג חיצוני חייב להיות בצורה 'prefix:other_Concept_id', כאשר 'prefix' תואם לערך הקידומת שבה נעשה שימוש במרחב השמות של מערך הנתונים החיצוני (ראו XML מרחבי שמות).
id LocalId אופציונלי המזהה של מאפיין הקונספט. המזהה הזה צריך להיות ייחודי בתוך הקונספט (בכל המאפיינים והנכסים). ניתן להשמיט את המזהה אם צוין מאפיין הקונספט. במקרה כזה, נוצר מזהה באופן משתמע עם הערך של השם המקומי של הקונספט שאליו קיימת הפניה. לדוגמה: <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>

מאפיין: Attribute / סוג / @ref

מרחב שמות אין מרחב שמות
סוג DataType
מאפיינים
להשתמש ב: חובה
מאפיינים
enumeration מחרוזת
enumeration מספר ממשי (float)
enumeration מספר שלם
ספירה בוליאני
enumeration תאריך
enumeration קונספט
בשימוש על ידי
רכיב מאפיין/סוג
מקור
<xs:attribute name="ref" type="DataType" use="required"/>

מאפיין: Attribute / סוג / @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>

מאפיין: Attribute / @id

מרחב שמות ללא מרחב שמות
הערות המזהה של מאפיין הקונספט. המזהה הזה חייב להיות ייחודי בתוך הקונספט (במאפיינים ובנכסים). אפשר להשמיט את המזהה אם מציינים את מאפיין הקונספט. במקרה כזה, המזהה הוא פשטות שנוצרה עם ערך השם המקומי של הקונספט שאליו היא מפנה. לדוגמה, הקוד <attribute concept="unit:currency"/> זהה לקוד <attribute id="currency" concept="unit:currency"/>
סוג 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>

מאפיין: Attribute / @מושג

מרחב שמות ללא מרחב שמות
הערות הפניה למושג שתואם לערכים של המאפיין. אם המאפיין מציין סוג, אז הסוג חייב להתאים ואת הסוג של הקונספט שאליו הוא מפנה. התייחסות לקונספט חיצוני חייב להיות בפורמט "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 Editor