view dtds/system.dtd @ 4:163b35f875ef

Re #7 - Add DTDs to API project because they're API related rather than GUI related no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Fri, 26 Dec 2008 12:32:16 +0000
parents
children
line wrap: on
line source

<!ELEMENT system (categories,sysStatsList)>
<!ELEMENT categories (cat+)>
<!ELEMENT cat EMPTY>
<!ELEMENT sysStatsList (sysStats+)>
<!ELEMENT sysStats (sysStat+)>
<!ELEMENT sysStat EMPTY>

<!ATTLIST system id ID #REQUIRED>
<!ATTLIST system name CDATA #REQUIRED>
<!ATTLIST system warn (true|false) "false">
<!ATTLIST system allowAllies (true|false) "true">
<!ATTLIST system isRosterBased (true|false) "false">

<!ATTLIST cat id ID #REQUIRED>
<!ATTLIST cat name CDATA #REQUIRED>
<!ATTLIST cat minPoints CDATA "0">
<!ATTLIST cat maxPoints CDATA "-1">
<!ATTLIST cat minPercentage CDATA "0">
<!ATTLIST cat maxPercentage CDATA "100">
<!ATTLIST cat minChoices CDATA "0">
<!ATTLIST cat maxChoices CDATA "-1">
<!ATTLIST cat baseValue CDATA "0">
<!ATTLIST cat incValue CDATA "0">
<!ATTLIST cat incAmount CDATA "0">

<!ATTLIST sysStatsList defaultStats CDATA #REQUIRED>

<!ATTLIST sysStats id ID #REQUIRED>

<!ATTLIST sysStat name CDATA #REQUIRED>