<?xml version="1.0" encoding="UTF-8"?>
<!--This is the DTD for storm parameters-->

<!--Root-->
<!ELEMENT storm (st_s1ReturnInterval, st_s2ReturnInterval, st_s3ReturnInterval,
                 st_s4ReturnInterval, st_s5ReturnInterval, st_s6ReturnInterval,
                 st_s7ReturnInterval, st_s8ReturnInterval, st_s9ReturnInterval,
                 st_s10ReturnInterval, st_susceptibility, st_stochasticity,
                 st_probFunction?, st_standardDeviation?, st_clumpingParameter?,
                 st_minDBH, st_stmMortInterceptMed, st_stmMortInterceptFull,
                 st_stmPropDieMedDmg, st_stmPropDieFullDmg, st_stmPropTipUpFullDmg,
                 st_stmIntensityCoeff, st_stmDBHCoeff, st_numYearsToHeal,
                 st_numYearsStormSnags)>

<!--Storm return interval for 0-0.1 severity, in years-->
<!ELEMENT st_s1ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.1-0.2 severity, in years-->
<!ELEMENT st_s2ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.2-0.3 severity, in years-->
<!ELEMENT st_s3ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.3-0.4 severity, in years-->
<!ELEMENT st_s4ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.4-0.5 severity, in years-->
<!ELEMENT st_s5ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.5-0.6 severity, in years-->
<!ELEMENT st_s6ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.6-0.7 severity, in years-->
<!ELEMENT st_s7ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.7-0.8 severity, in years-->
<!ELEMENT st_s8ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.8-0.9 severity, in years-->
<!ELEMENT st_s9ReturnInterval (#PCDATA)>

<!--Storm return interval for 0.9-1.0 severity, in years-->
<!ELEMENT st_s10ReturnInterval (#PCDATA)>

<!--Storm susceptibility.  The allowed 
values are integers matching the members of
the enum clStorm::susceptibility-->
<!ELEMENT st_susceptibility (#PCDATA)>

<!--Storm stochasticity.  The allowed 
values are integers matching the members of
the enum clStorm::stochasticity-->
<!ELEMENT st_stochasticity (#PCDATA)>

<!--Probabilitiy distribution function of
storm damage values.  The allowed 
values are integers matching the members of
the enum clStorm::distribution_func.  This is
only used if the storm stochasticity is 
stochastic.-->
<!ELEMENT st_probFunction (#PCDATA)>

<!--Standard deviation for normal or lognormal 
probability distribution function, if used-->
<!ELEMENT st_standardDeviation (#PCDATA)>

<!--Clumping parameter for negative binomial 
probability distribution function, if used-->
<!ELEMENT st_clumpingParameter (#PCDATA)>

<!--Minimum DBH to which storm damage applies,
species-specific-->
<!ELEMENT st_minDBH (st_mdVal+)*>
<!ELEMENT st_mdVal (#PCDATA)>
<!ATTLIST st_mdVal species IDREF #REQUIRED>

<!--Storm damage intercept for medium damage
(a) - species-specific-->
<!ELEMENT st_stmDmgInterceptMed (st_sdimVal+)*>
<!ELEMENT st_sdimVal (#PCDATA)>
<!ATTLIST st_sdimVal species IDREF #REQUIRED>

<!--Storm damage intercept for full damage
(a) - species-specific-->
<!ELEMENT st_stmDmgInterceptFull (st_sdifVal+)*>
<!ELEMENT st_sdifVal (#PCDATA)>
<!ATTLIST st_sdifVal species IDREF #REQUIRED>

<!--Storm intensity coefficient (b) - species-specific-->
<!ELEMENT st_stmIntensityCoeff (st_sicVal+)*>
<!ELEMENT st_sicVal (#PCDATA)>
<!ATTLIST st_sicVal species IDREF #REQUIRED>

<!--Proportion of trees with medium damage that die
	 - species-specific-->
<!ELEMENT st_stmPropDieMedDmg (st_spdmdVal+)*>
<!ELEMENT st_spdmdVal (#PCDATA)>
<!ATTLIST st_spdmdVal species IDREF #REQUIRED>

<!--Proportion of trees with full damage that die
	 - species-specific-->
<!ELEMENT st_stmPropDieFullDmg (st_spdfdVal+)*>
<!ELEMENT st_spdfdVal (#PCDATA)>
<!ATTLIST st_spdfdVal species IDREF #REQUIRED>

<!--Proportion of trees with full damage that become tip-ups
	 - species-specific-->
<!ELEMENT st_stmPropTipUpFullDmg (st_sptufdVal+)*>
<!ELEMENT st_sptufdVal (#PCDATA)>
<!ATTLIST st_sptufdVal species IDREF #REQUIRED>

<!--Storm DBH coefficient (d) - species-specific-->
<!ELEMENT st_stmDBHCoeff (st_sdcVal+)*>
<!ELEMENT st_sdcVal (#PCDATA)>
<!ATTLIST st_sdcVal species IDREF #REQUIRED>

<!--Number of years damaged trees stay damaged-->
<!ELEMENT st_numYearsToHeal (#PCDATA)>

<!--Max lifespan of storm-damaged snags, in years-->
<!ELEMENT st_numYearsStormSnags (#PCDATA)>