A Proposal for a Shadowrun XML Standard

power

root/rpgcharacter/powers/power
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 advantage tag describes one of the character's advantages, disadvantages, racial abilities, racial drawbacks, etc.


Code Fragment

<xs:complexType name="power">
  <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>