A Proposal for a Shadowrun XML Standard

attribute

root/rpgcharacter/attributes/attribute
Back

Namespace:
Filename:

Content: name (type: string) , value (type: float) , initial (type: float) ?, improvement (type: float) ?, racialmod (type: float) ?, natural (type: float) ?, augmentation (type: float) ?, max (type: float) ?, initialcost (type: float) ?, additionalcost (type: float) ?, maxcost (type: float) ?, note (type: string) *, relatedvalues (type: namevaluelist) ?

Description: The attribute tag describes one of the character's physical or mental attrbutes (e.g. strength, intelligence, etc.).


Code Fragment

<xs:complexType name="attribute">
  <xs:sequence>
    <xs:element type="xs:string" name="name"/>
    <xs:element type="xs:float" name="value"/>
    <xs:element type="xs:float" name="initial" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="improvement" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="racialmod" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="natural" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="augmentation" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:float" name="max" 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:float" name="maxcost" minOccurs="0" maxOccurs="1"/>
    <xs:element type="xs:string" name="note" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element type="namevaluelist" name="relatedvalues" minOccurs="0" maxOccurs="1"/>
  </xs:sequence>
</xs:complexType>