Schema team.xsd


schema location:  C:\Java\projects\ai\RoboPlayer\src\website\project\team.xsd
 
Elements 
team 


element team
diagram
children player
attributes
Name  Type  Use  Default  Fixed  Annotation
name  xs:string  required      
documentation 
Team name
annotation
documentation 
Root node.
source
<xs:element name="team">
  <xs:annotation>
    <xs:documentation>Root node.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="player" maxOccurs="unbounded">
        <xs:annotation>
          <xs:documentation>Contains information about player</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="file" type="xs:string" use="required">
            <xs:annotation>
              <xs:documentation>Name of the player definition file</xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="name" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Team name</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

element team/player
diagram
attributes
Name  Type  Use  Default  Fixed  Annotation
file  xs:string  required      
documentation 
Name of the player definition file
annotation
documentation 
Contains information about player
source
<xs:element name="player" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Contains information about player</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="file" type="xs:string" use="required">
      <xs:annotation>
        <xs:documentation>Name of the player definition file</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com