Job Schema

From Asgard
Revision as of 02:36, 20 October 2006 by Rustushki (Talk | contribs) (Schema)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following is the Job Schema. It validates XML trees that define the Job related attributes of Statistic objects.

Schema

<xs:schema>

 <xs:element name="job">
  <xs:complexType>
   <xs:sequence>
    <xs:element name="name" type="xs:string" maxOccurs="1" minOccurs="1"/>
    <xs:element name"stat" minOccurs="0">
     <xs:attribute name="name" type="xs:string"/>
     <xs:attribute name="plus" type="xs:integer"/>
     <xs:attribute name="chance" type="xs:decimal"/>
     <xs:attribute name="growthRate" type="xs:decimal"/>
    </xs:element>
   </xs:sequence>
  </xs:complexType>
 </xs:element>

</xs:schema>