A Proposal for a Shadowrun XML Standard

spell

root/rpgcharacter/spells/spell
Back

Namespace:
Filename:

Content: ( refid (type: string) | name (type: string) ), value (type: int) ?, initial (type: int) ?, initialcost (type: float) ?, additionalcost (type: float) ?, variation (type: string) *

Description: The spell tag describes a spell or similar effect known by the character.


Code Fragment

<xs:complexType name="spell">
  <xs:sequence>
    <xs:choice>
      <xs:element type="xs:string" name="refid"/>
      <xs:element type="xs:string" name="name"/>
    </xs:choice>
    <xs:element type="xs:int" name="value"/>
    <xs:element type="xs:int" name="initial" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="initialcost" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="additionalcost" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="variation" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>