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

<!--Root-->
<!ELEMENT mortality (mo_randomJuvenileMortality?, 

	mo_nonSizeDepMort?,	mo_mortAtZeroGrowth?, mo_lightDependentMortality?, 
	
	mo_juvSelfThinSlope?, mo_juvSelfThinIntercept?, 
	
	mo_adultSelfThinSlope?, mo_adultSelfThinIntercept?, mo_adultSelfThinMaxDbh?, 
	
	mo_randomMortAlpha?, mo_randomMortBeta?, mo_dbhAtOnsetOfSenescence?, 
	mo_dbhAtAsympMaxMort?, 
	
	mo_snagSizeClass1Dbh?, mo_snagSizeClass2Dbh?, mo_snag1WeibullA?, mo_snag2WeibullA?, 
	mo_snag3WeibullA?, mo_snag1WeibullB?, mo_snag2WeibullB?, mo_snag3WeibullB?, 
	
	mo_prnciMaxCrowdingRadius?, mo_prnciNeighDBHEff?, mo_prnciNeighDistEff?, 
	mo_prnciSizeSensNCI?, mo_prnciMaxPotentialSurvival?, mo_prnciSizeEffectMode?, 
	mo_prnciSizeEffectVar?, mo_prnciNCISlope?, mo_prnciNCISteepness?, 
	mo_prnciStormEffMedDmg?, mo_prnciStormEffFullDmg?, mo_prnciNeighStormEffMedDmg?, 
	mo_prnciNeighStormEffFullDmg?, mo_nciIncludeSnagsInNCI?,
	
	mo_resMortScalingFactor?, mo_resMortMode?, mo_resMortGrowthIncSurv?,
	mo_resMortLoGrowthShape?,
	
	mo_CompMort?, mo_CompMortMax?,
	
	mo_logBilevLoLiteA?, mo_logBilevHiLiteA?, mo_logBilevLoLiteB?,
	mo_logBilevHiLiteB?, mo_logBilevHiLiteThreshold?)>	

<!--***********************************
Stochastic mortality parameters
************************************-->
<!--Random juvenile mortality - species-specific-->
<!ELEMENT mo_randomJuvenileMortality (mo_rjmVal+)*>
<!ELEMENT mo_rjmVal (#PCDATA)>
<!ATTLIST mo_rjmVal species IDREF #REQUIRED>

<!--Non-size dependent random mortality-->
<!ELEMENT mo_nonSizeDepMort (mo_nsdmVal+)*>
<!ELEMENT mo_nsdmVal (#PCDATA)>
<!ATTLIST mo_nsdmVal species IDREF #REQUIRED>

<!--***********************************
BC/GMF mortality parameters
************************************-->
<!--Mortality at zero growth - species-specific-->
<!ELEMENT mo_mortAtZeroGrowth (mo_mazgVal+)*>
<!ELEMENT mo_mazgVal (#PCDATA)>
<!ATTLIST mo_mazgVal species IDREF #REQUIRED>

<!--Light dependent mortality - species-specific-->
<!ELEMENT mo_lightDependentMortality (mo_ldmVal+)*>
<!ELEMENT mo_ldmVal (#PCDATA)>
<!ATTLIST mo_ldmVal species IDREF #REQUIRED>

<!--***********************************
  Self-thinning parameters
************************************-->
<!--Juvenile self-thinning slope - species-specific-->
<!ELEMENT mo_juvSelfThinSlope (mo_jstsVal+)*>
<!ELEMENT mo_jstsVal (#PCDATA)>
<!ATTLIST mo_jstsVal species IDREF #REQUIRED>

<!--Juvenile self-thinning intercept - species-specific-->
<!ELEMENT mo_juvSelfThinIntercept (mo_jstiVal+)*>
<!ELEMENT mo_jstiVal (#PCDATA)>
<!ATTLIST mo_jstiVal species IDREF #REQUIRED>

<!--Adult self-thinning slope - species-specific-->
<!ELEMENT mo_adultSelfThinSlope (mo_astsVal+)*>
<!ELEMENT mo_astsVal (#PCDATA)>
<!ATTLIST mo_astsVal species IDREF #REQUIRED>

<!--Adult self-thinning intercept - species-specific-->
<!ELEMENT mo_adultSelfThinIntercept (mo_astiVal+)*>
<!ELEMENT mo_astiVal (#PCDATA)>
<!ATTLIST mo_astiVal species IDREF #REQUIRED>

<!--Adult self-thinning max dbh - species-specific-->
<!ELEMENT mo_adultSelfThinMaxDbh (mo_astmdVal+)*>
<!ELEMENT mo_astmdVal (#PCDATA)>
<!ATTLIST mo_astmdVal species IDREF #REQUIRED>

<!--***********************************
  Senescence mortality parameters
************************************-->
<!--Random mortality alpha-->
<!ELEMENT mo_randomMortAlpha (mo_rmaVal+)*>
<!ELEMENT mo_rmaVal (#PCDATA)>
<!ATTLIST mo_rmaVal species IDREF #REQUIRED>

<!--Random mortality beta-->
<!ELEMENT mo_randomMortBeta (mo_rmbVal+)*>
<!ELEMENT mo_rmbVal (#PCDATA)>
<!ATTLIST mo_rmbVal species IDREF #REQUIRED>

<!--Dbh at onset of senescence-->
<!ELEMENT mo_dbhAtOnsetOfSenescence (mo_daoosVal+)*>
<!ELEMENT mo_daoosVal (#PCDATA)>
<!ATTLIST mo_daoosVal species IDREF #REQUIRED>

<!--Dbh at asymptotic maximum mortality-->
<!ELEMENT mo_dbhAtAsympMaxMort (#PCDATA)>

<!--***********************************
  Snag weibull mortality parameters
************************************-->
<!--Snag size class 1 upper DBH value - deprecated-->
<!ELEMENT mo_snagSizeClass1 (#PCDATA)>
<!--Snag size class 2 upper DBH value - deprecated-->
<!ELEMENT mo_snagSizeClass2 (#PCDATA)>

<!--Snag size class 1 upper DBH value-->
<!ELEMENT mo_snagSizeClass1DBH (mo_sc1dVal+)*>
<!ELEMENT mo_sc1dVal (#PCDATA)>
<!ATTLIST mo_sc1dVal species IDREF #REQUIRED>

<!--Snag size class 2 upper DBH value-->
<!ELEMENT mo_snagSizeClass2DBH (mo_sc2dVal+)*>
<!ELEMENT mo_sc2dVal (#PCDATA)>
<!ATTLIST mo_sc2dVal species IDREF #REQUIRED>

<!--Snag size class 1 "a" parameter-->
<!ELEMENT mo_snag1WeibullA (mo_s1waVal+)*>
<!ELEMENT mo_s1waVal (#PCDATA)>
<!ATTLIST mo_s1waVal species IDREF #REQUIRED>

<!--Snag size class 2 "a" parameter-->
<!ELEMENT mo_snag2WeibullA (mo_s2waVal+)*>
<!ELEMENT mo_s2waVal (#PCDATA)>
<!ATTLIST mo_s2waVal species IDREF #REQUIRED>

<!--Snag size class 3 "a" parameter-->
<!ELEMENT mo_snag3WeibullA (mo_s3waVal+)*>
<!ELEMENT mo_s3waVal (#PCDATA)>
<!ATTLIST mo_s3waVal species IDREF #REQUIRED>

<!--Snag size class 1 "b" parameter-->
<!ELEMENT mo_snag1WeibullB (mo_s1wbVal+)*>
<!ELEMENT mo_s1wbVal (#PCDATA)>
<!ATTLIST mo_s1wbVal species IDREF #REQUIRED>

<!--Snag size class 2 "b" parameter-->
<!ELEMENT mo_snag2WeibullB (mo_s2wbVal+)*>
<!ELEMENT mo_s2wbVal (#PCDATA)>
<!ATTLIST mo_s2wbVal species IDREF #REQUIRED>

<!--Snag size class 3 "b" parameter-->
<!ELEMENT mo_snag3WeibullB (mo_s3wbVal+)*>
<!ELEMENT mo_s3wbVal (#PCDATA)>
<!ATTLIST mo_s3wbVal species IDREF #REQUIRED>

<!--***********************************
  NCI mortality parameters 
  Note:  this used to be "Puerto Rico NCI Mortality",
  so you will see a legacy "pr" in some of the tag
  names
************************************-->

<!--Maximum potential survival - species specific-->
<!ELEMENT mo_prnciMaxPotentialSurvival (mo_pmpsVal+)*>
<!ELEMENT mo_pmpsVal (#PCDATA)>
<!ATTLIST mo_pmpsVal species IDREF #REQUIRED>


<!--
	Crowding effect parameters
-->
<!--Maximum crowding radius - species specific-->
<!ELEMENT mo_prnciMaxCrowdingRadius (mo_pmcrVal+)*>
<!ELEMENT mo_pmcrVal (#PCDATA)>
<!ATTLIST mo_pmcrVal species IDREF #REQUIRED>

<!--Neighbor DBH effect (alpha) parameter for NCI 
	calculation - species specific-->
<!ELEMENT mo_prnciNeighDBHEff (mo_pndeVal+)*>
<!ELEMENT mo_pndeVal (#PCDATA)>
<!ATTLIST mo_pndeVal species IDREF #REQUIRED>

<!--Neighbor distance effect (beta) parameter for 
	NCI calculation - species specific-->
<!ELEMENT mo_prnciNeighDistEff (mo_pndseVal+)*>
<!ELEMENT mo_pndseVal (#PCDATA)>
<!ATTLIST mo_pndseVal species IDREF #REQUIRED>

<!--Size sensitivity to NCI parameter (gamma) 
	for Crowding Effect calculations - species specific-->
<!ELEMENT mo_prnciSizeSensNCI (mo_pssnVal+)*>
<!ELEMENT mo_pssnVal (#PCDATA)>
<!ATTLIST mo_pssnVal species IDREF #REQUIRED>

<!--Minimum DBH for neighbors - species specific - all species
	must be present -->
<!ELEMENT mo_nciMinNeighborDBH (mo_nmndVal+)*>
<!ELEMENT mo_nmndVal (#PCDATA)>
<!ATTLIST mo_nmndVal species IDREF #REQUIRED>

<!--The format for Lambda is:
<!ELEMENT mo_prnci[Neighbor]NeighborLambda (mo_plVal+)*>
<!ELEMENT mo_plVal (#PCDATA)>
<!ATTLIST mo_plVal species IDREF #REQUIRED>

where [Neighbor] is the name of the species neighbor.
--> 

<!--NCI Crowding Effect Slope (C) - species specific
	For Crowding Effect calculations-->
<!ELEMENT mo_prnciNCISlope (mo_pnslVal+)*>
<!ELEMENT mo_pnslVal (#PCDATA)>
<!ATTLIST mo_pnslVal species IDREF #REQUIRED>

<!--NCI Crowding Effect Steepness (D) - species specific
	For Crowding Effect calculations-->
<!ELEMENT mo_prnciNCISteepness (mo_pnstVal+)*>
<!ELEMENT mo_pnstVal (#PCDATA)>
<!ATTLIST mo_pnstVal species IDREF #REQUIRED>

<!--Neighbor storm effect - medium damage - species specific-->
<!ELEMENT mo_prnciNeighStormEffMedDmg (mo_pnsemdVal+)*>
<!ELEMENT mo_pnsemdVal (#PCDATA)>
<!ATTLIST mo_pnsemdVal species IDREF #REQUIRED>

<!--Neighbor storm effect - full damage - species specific-->
<!ELEMENT mo_prnciNeighStormEffFullDmg (mo_pnsefdVal+)*>
<!ELEMENT mo_pnsefdVal (#PCDATA)>
<!ATTLIST mo_pnsefdVal species IDREF #REQUIRED>

<!--NCI DBH divisor-->
<!ELEMENT mo_nciDbhDivisor (#PCDATA)>

<!--Include snags in NCI - "false" or "true"-->
<!ELEMENT mo_nciIncludeSnagsInNCI (#PCDATA)>

<!--
	Size effect parameters
-->
<!--Size Effect Mode (X0) - species specific
	For Size Effect	calculations-->
<!ELEMENT mo_prnciSizeEffectMode (mo_psemVal+)*>
<!ELEMENT mo_psemVal (#PCDATA)>
<!ATTLIST mo_psemVal species IDREF #REQUIRED>

<!--Size effect variance (Xb) - species specific
	For Size Effect calculations-->
<!ELEMENT mo_prnciSizeEffectVar (mo_psevVal+)*>
<!ELEMENT mo_psevVal (#PCDATA)>
<!ATTLIST mo_psevVal species IDREF #REQUIRED>

<!--
	Shading effect parameters
-->

<!--Shading coefficient (m) - species specific
	For Shading Effect calculations-->
<!ELEMENT mo_nciShadingCoefficient (mo_nscVal+)*>
<!ELEMENT mo_nscVal (#PCDATA)>
<!ATTLIST mo_nscVal species IDREF #REQUIRED>

<!--Shading exponent (n) - species specific
	For Shading Effect calculations-->
<!ELEMENT mo_nciShadingExponent (mo_nseVal+)*>
<!ELEMENT mo_nseVal (#PCDATA)>
<!ATTLIST mo_nseVal species IDREF #REQUIRED>

<!--
	Damage effect parameters
-->
<!--Storm effect - medium damage - species specific-->
<!ELEMENT mo_prnciStormEffMedDmg (mo_psemdVal+)*>
<!ELEMENT mo_psemdVal (#PCDATA)>
<!ATTLIST mo_psemdVal species IDREF #REQUIRED>

<!--Storm effect - full damage - species specific-->
<!ELEMENT mo_prnciStormEffFullDmg (mo_psefdVal+)*>
<!ELEMENT mo_psefdVal (#PCDATA)>
<!ATTLIST mo_psefdVal species IDREF #REQUIRED>

<!--***********************************
	Resource mortality parameters
************************************-->
<!--Resource mortality - scaling factor (rho) - species specific-->
<!ELEMENT mo_resMortScalingFactor (mo_rmsfVal+)*>
<!ELEMENT mo_rmsfVal (#PCDATA)>
<!ATTLIST mo_rmsfVal species IDREF #REQUIRED>

<!--Resource mortality - function mode (mu) - species specific-->
<!ELEMENT mo_resMortMode (mo_rmmVal+)*>
<!ELEMENT mo_rmmVal (#PCDATA)>
<!ATTLIST mo_rmmVal species IDREF #REQUIRED>

<!--Resource mortality - growth increase in survival (delta)- species specific-->
<!ELEMENT mo_resMortGrowthIncSurv (mo_rmgisVal+)*>
<!ELEMENT mo_rmgisVal (#PCDATA)>
<!ATTLIST mo_rmgisVal species IDREF #REQUIRED>

<!--Resource mortality - low growth function shape (sigma) - species specific-->
<!ELEMENT mo_resMortLoGrowthShape (mo_rmlgsVal+)*>
<!ELEMENT mo_rmlgsVal (#PCDATA)>
<!ATTLIST mo_rmlgsVal species IDREF #REQUIRED>

<!--***********************************
Competition mortality parameters
************************************-->
<!--Competition mortality shape parameter- species-specific-->
<!ELEMENT mo_CompMort (mo_cmVal+)*>
<!ELEMENT mo_cmVal (#PCDATA)>
<!ATTLIST mo_cmVal species IDREF #REQUIRED>

<!--Competition mortality maximum parameter - species-specific-->
<!ELEMENT mo_CompMortMax (mo_cmmVal+)*>
<!ELEMENT mo_cmmVal (#PCDATA)>
<!ATTLIST mo_cmmVal species IDREF #REQUIRED>

<!--***********************************
	Density self-thinning mortality parameters
************************************-->
<!--A is the Asymptote Parameter - species-specific-->
<!ELEMENT mo_selfThinAsymptote (mo_staVal+)*>
<!ELEMENT mo_staVal (#PCDATA)>
<!ATTLIST mo_staVal species IDREF #REQUIRED>

<!--C is the Diameter Effect Parameter - species-specific-->
<!ELEMENT mo_selfThinDiamEffect (mo_stdieVal+)*>
<!ELEMENT mo_stdieVal (#PCDATA)>
<!ATTLIST mo_stdieVal species IDREF #REQUIRED>

<!--S is the Density Effect Parameter - species-specific-->
<!ELEMENT mo_selfThinDensityEffect (mo_stdeeVal+)*>
<!ELEMENT mo_stdeeVal (#PCDATA)>
<!ATTLIST mo_stdeeVal species IDREF #REQUIRED>

<!--Neighborhood Radius - species-specific-->
<!ELEMENT mo_selfThinRadius (mo_strVal+)*>
<!ELEMENT mo_strVal (#PCDATA)>
<!ATTLIST mo_strVal species IDREF #REQUIRED>

<!--Minimum Density For Mortality - species-specific-->
<!ELEMENT mo_minDensityForMort (mo_mdfmVal+)*>
<!ELEMENT mo_mdfmVal (#PCDATA)>
<!ATTLIST mo_mdfmVal species IDREF #REQUIRED>

<!--*********************************
	Logistic bi-level mortality parameters
	*********************************-->
<!--Logistic bi-level mortality - low-light
	mortality "a"-->
<!ELEMENT mo_logBilevLoLiteA (mo_lbllaVal+)*>
<!ELEMENT mo_lbllaVal (#PCDATA)>
<!ATTLIST mo_lbllaVal species IDREF #REQUIRED>

<!--Logistic bi-level mortality - high-light
	mortality "a"-->
<!ELEMENT mo_logBilevHiLiteA (mo_lbhlaVal+)*>
<!ELEMENT mo_lbhlaVal (#PCDATA)>
<!ATTLIST mo_lbhlaVal species IDREF #REQUIRED>

<!--Logistic bi-level mortality - low-light
	mortality "b"-->
<!ELEMENT mo_logBilevLoLiteB (mo_lbllbVal+)*>
<!ELEMENT mo_lbllbVal (#PCDATA)>
<!ATTLIST mo_lbllbVal species IDREF #REQUIRED>

<!--Logistic bi-level mortality - high-light
	mortality "b"-->
<!ELEMENT mo_logBilevHiLiteB (mo_lbhlbVal+)*>
<!ELEMENT mo_lbhlbVal (#PCDATA)>
<!ATTLIST mo_lbhlbVal species IDREF #REQUIRED>

<!--Logistic bi-level mortality - high-light
	mortality light level threshold-->
<!ELEMENT mo_logBilevHiLiteThreshold (mo_lbhltVal+)*>
<!ELEMENT mo_lbhltVal (#PCDATA)>
<!ATTLIST mo_lbhltVal species IDREF #REQUIRED>