Showing:

Annotations
Attributes
Diagrams
Facets
Identity Constraints
Instances
Properties
Source
Used by

Table of Contents

Group by:

No namespace

Main schema personal.xsd
Namespace No namespace
Properties
attribute form default: unqualified
element form default: unqualified
Schema location file:/C:/samples/personal.xsd
[ top ]
Element personnel
Namespace No namespace
Annotations
Defines the personnel as a collection of person elements.
Diagram
Diagram personal.tmp#id2
Properties
content: complex
Model person+
Children person
Instance
<personnel>
  <person contr="false" id="" note="" salary="">{1,unbounded}</person>
</personnel>
Source
<xs:element name="personnel">
  <xs:annotation>
    <xs:documentation>Defines the personnel as a collection of person elements.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="person" minOccurs="1" maxOccurs="unbounded"/>
    </xs:sequence>
  </xs:complexType>
  <xs:unique name="unique1">
    <xs:selector xpath="person"/>
    <xs:field xpath="name/given"/>
    <xs:field xpath="name/family"/>
  </xs:unique>
  <xs:key name="empid">
    <xs:selector xpath="person"/>
    <xs:field xpath="@id"/>
  </xs:key>
  <xs:keyref name="keyref1" refer="empid">
    <xs:selector xpath="person"/>
    <xs:field xpath="link/@manager"/>
  </xs:keyref>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element person
Namespace No namespace
Annotations
Specifies information about a person.
Diagram
Diagram personal.tmp#id12 personal.tmp#id13 personal.tmp#id14 personal.tmp#id15 personal.tmp#id3 personal.tmp#id6 personal.tmp#id7 personal.tmp#id9
Properties
content: complex
Used by
Element personnel
Model name , email* , url* , link{0,1}
Children email, link, name, url
Instance
<person contr="false" id="" note="" salary="">
  <name>{1,1}</name>
  <email>{0,unbounded}</email>
  <url href="http://">{0,unbounded}</url>
  <link manager="" subordinates="">{0,1}</link>
</person>
Attributes
QName Type Fixed Default Use Annotation
contr restriction of xs:string false optional
id xs:ID required
Specifies a required unique ID for this person.
note xs:string optional
If there is anything to note about this person.
salary xs:integer optional
Specifies the salary for this person.
Source
<xs:element name="person">
  <xs:annotation>
    <xs:documentation>Specifies information about a person.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="name"/>
      <xs:element ref="email" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="url" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="link" minOccurs="0" maxOccurs="1"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:ID" use="required">
      <xs:annotation>
        <xs:documentation>Specifies a required unique ID for this person.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="note" type="xs:string">
      <xs:annotation>
        <xs:documentation>If there is anything to note about this person.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="contr" default="false">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true"/>
          <xs:enumeration value="false"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="salary" type="xs:integer">
      <xs:annotation>
        <xs:documentation>Specifies the salary for this person.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element name
Namespace No namespace
Annotations
Specifies the person family and given name.
Diagram
Diagram personal.tmp#id4 personal.tmp#id5
Properties
content: complex
Used by
Element person
Model ALL(family given)
Children family, given
Instance
<name>
  <family>{1,1}</family>
  <given>{1,1}</given>
</name>
Source
<xs:element name="name">
  <xs:annotation>
    <xs:documentation>Specifies the person family and given name.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:all>
      <xs:element ref="family"/>
      <xs:element ref="given"/>
    </xs:all>
  </xs:complexType>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element family
Namespace No namespace
Annotations
The person last name.
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element name
Source
<xs:element name="family" type="xs:string">
  <xs:annotation>
    <xs:documentation>The person last name.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element given
Namespace No namespace
Annotations
The person first name.
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element name
Source
<xs:element name="given" type="xs:string">
  <xs:annotation>
    <xs:documentation>The person first name.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element email
Namespace No namespace
Annotations
Email address for this person.
Diagram
Diagram
Type xs:string
Properties
content: simple
Used by
Element person
Source
<xs:element name="email" type="xs:string">
  <xs:annotation>
    <xs:documentation>Email address for this person.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element url
Namespace No namespace
Annotations
Enter an URL for this person.
Diagram
Diagram personal.tmp#id8
Properties
content: complex
Used by
Element person
Attributes
QName Type Fixed Default Use Annotation
href xs:string http:// optional
Enter an URL for this person.
Source
<xs:element name="url">
  <xs:annotation>
    <xs:documentation>Enter an URL for this person.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="href" type="xs:string" default="http://">
      <xs:annotation>
        <xs:documentation>Enter an URL for this person.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Element link
Namespace No namespace
Annotations
Specifies who is the manager and who are the subordinates for this person.
Diagram
Diagram personal.tmp#id10 personal.tmp#id11
Properties
content: complex
Used by
Element person
Attributes
QName Type Fixed Default Use Annotation
manager xs:IDREF optional
The manager ID.
subordinates xs:IDREFS optional
Space separated list with the subordinates IDs.
Source
<xs:element name="link">
  <xs:annotation>
    <xs:documentation>Specifies who is the manager and who are the subordinates for this person.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="manager" type="xs:IDREF">
      <xs:annotation>
        <xs:documentation>The manager ID.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="subordinates" type="xs:IDREFS">
      <xs:annotation>
        <xs:documentation>Space separated list with the subordinates IDs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute url/@href
Namespace No namespace
Annotations
Enter an URL for this person.
Type xs:string
Properties
default: http://
Used by
Element url
Source
<xs:attribute name="href" type="xs:string" default="http://">
  <xs:annotation>
    <xs:documentation>Enter an URL for this person.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute link/@manager
Namespace No namespace
Annotations
The manager ID.
Type xs:IDREF
Properties
content: simple
Used by
Element link
Source
<xs:attribute name="manager" type="xs:IDREF">
  <xs:annotation>
    <xs:documentation>The manager ID.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute link/@subordinates
Namespace No namespace
Annotations
Space separated list with the subordinates IDs.
Type xs:IDREFS
Properties
content: simple
Used by
Element link
Source
<xs:attribute name="subordinates" type="xs:IDREFS">
  <xs:annotation>
    <xs:documentation>Space separated list with the subordinates IDs.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute person/@id
Namespace No namespace
Annotations
Specifies a required unique ID for this person.
Type xs:ID
Properties
use: required
Used by
Element person
Source
<xs:attribute name="id" type="xs:ID" use="required">
  <xs:annotation>
    <xs:documentation>Specifies a required unique ID for this person.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute person/@note
Namespace No namespace
Annotations
If there is anything to note about this person.
Type xs:string
Properties
content: simple
Used by
Element person
Source
<xs:attribute name="note" type="xs:string">
  <xs:annotation>
    <xs:documentation>If there is anything to note about this person.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute person/@contr
Namespace No namespace
Type restriction of xs:string
Properties
default: false
Facets
enumeration true, false
Used by
Element person
Source
<xs:attribute name="contr" default="false">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:enumeration value="true"/>
      <xs:enumeration value="false"/>
    </xs:restriction>
  </xs:simpleType>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]
Attribute person/@salary
Namespace No namespace
Annotations
Specifies the salary for this person.
Type xs:integer
Properties
content: simple
Used by
Element person
Source
<xs:attribute name="salary" type="xs:integer">
  <xs:annotation>
    <xs:documentation>Specifies the salary for this person.</xs:documentation>
  </xs:annotation>
</xs:attribute>
Schema location file:/C:/samples/personal.xsd
[ top ]