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

<!--Root-->
<!ELEMENT analysis (vo_taperA?, vo_taperB?, vo_taperC?, vo_taperD?, vo_taperF?,
                  vo_taperG?, vo_taperI?, vo_taperJ?, vo_taperK?, vo_barkA?,
                  vo_barkB?, vo_barkC?, vo_stumpHeight?, vo_minUsableDiam?,
                  vo_segmentLength?, bi_a?, bi_c?)>

<!--*******************************
	Tree Volume Calculator
********************************-->
<!-- a in the taper equation (also known as a0).-->
<!ELEMENT vo_taperA (vo_taVal+)*>
<!ELEMENT vo_taVal (#PCDATA)>
<!ATTLIST vo_taVal species IDREF #REQUIRED>

<!-- b in the taper equation (also known as a1).-->
<!ELEMENT vo_taperB (vo_tbVal+)*>
<!ELEMENT vo_tbVal (#PCDATA)>
<!ATTLIST vo_tbVal species IDREF #REQUIRED>

<!-- c in the taper equation (also known as a2).-->
<!ELEMENT vo_taperC (vo_tcVal+)*>
<!ELEMENT vo_tcVal (#PCDATA)>
<!ATTLIST vo_tcVal species IDREF #REQUIRED>

<!-- d in the taper equation (also known as b1).-->
<!ELEMENT vo_taperD (vo_tdVal+)*>
<!ELEMENT vo_tdVal (#PCDATA)>
<!ATTLIST vo_tdVal species IDREF #REQUIRED>

<!-- f in the taper equation (also known as b2).-->
<!ELEMENT vo_taperF (vo_tfVal+)*>
<!ELEMENT vo_tfVal (#PCDATA)>
<!ATTLIST vo_tfVal species IDREF #REQUIRED>

<!-- g in the taper equation (also known as b3).-->
<!ELEMENT vo_taperG (vo_tgVal+)*>
<!ELEMENT vo_tgVal (#PCDATA)>
<!ATTLIST vo_tgVal species IDREF #REQUIRED>

<!-- i in the taper equation (also known as b4).-->
<!ELEMENT vo_taperI (vo_tiVal+)*>
<!ELEMENT vo_tiVal (#PCDATA)>
<!ATTLIST vo_tiVal species IDREF #REQUIRED>

<!-- j in the taper equation (also known as b5).-->
<!ELEMENT vo_taperJ (vo_tjVal+)*>
<!ELEMENT vo_tjVal (#PCDATA)>
<!ATTLIST vo_tjVal species IDREF #REQUIRED>

<!-- k in the taper equation (also known as b6).-->
<!ELEMENT vo_taperK (vo_tkVal+)*>
<!ELEMENT vo_tkVal (#PCDATA)>
<!ATTLIST vo_tkVal species IDREF #REQUIRED>

<!-- a in the math library's AddBarkToDBH() function (also known as a1).-->
<!ELEMENT vo_barkA (vo_baVal+)*>
<!ELEMENT vo_baVal (#PCDATA)>
<!ATTLIST vo_baVal species IDREF #REQUIRED>

<!-- b in the math library's AddBarkToDBH() function (also known as a2).-->
<!ELEMENT vo_barkB (vo_bbVal+)*>
<!ELEMENT vo_bbVal (#PCDATA)>
<!ATTLIST vo_bbVal species IDREF #REQUIRED>

<!-- c in the math library's AddBarkToDBH() function (also known as a3).-->
<!ELEMENT vo_barkC (vo_bcVal+)*>
<!ELEMENT vo_bcVal (#PCDATA)>
<!ATTLIST vo_bcVal species IDREF #REQUIRED>

<!--Stump height, in cm.  Point at which to start summing trunk volume.-->
<!ELEMENT vo_stumpHeight (#PCDATA)>

<!--Minimum usable diameter, in cm.  Point at which to stop summing trunk
  volume.-->
<!ELEMENT vo_minUsableDiam (#PCDATA)>

<!--Length of tree trunk volume segments, in m.-->
<!ELEMENT vo_segmentLength (#PCDATA)>

<!--********************************
	Dimension Analysis Behavior
	Formerly called "biomass calculator", thus the
	parameter prefix
*********************************-->
<!--Which equation to use - species specific.  This should be a number
	between 1 and 9, inclusive-->
<!ELEMENT bi_eqID (bi_eiVal+)*>
<!ELEMENT bi_eiVal (#PCDATA)>
<!ATTLIST bi_eiVal species IDREF #REQUIRED>

<!--Which units DBH will be specified in - species specific.  0 = mm,
	1 = cm, 2 = inches.-->
<!ELEMENT bi_dbhUnits (bi_duVal+)*>
<!ELEMENT bi_duVal (#PCDATA)>
<!ATTLIST bi_duVal species IDREF #REQUIRED>

<!--Which units the biomass equation should report in given the
	user's parameter values - species specific.  0 = g,
	1 = kg, 2 = lb.-->
<!ELEMENT bi_biomassUnits (bi_buVal+)*>
<!ELEMENT bi_buVal (#PCDATA)>
<!ATTLIST bi_buVal species IDREF #REQUIRED>

<!--Whether or not to use a correction factor - species-specific.
	1 (true) or 0 (false)-->
<!ELEMENT bi_useCorrectionFactor (bi_ucfVal+)*>
<!ELEMENT bi_ucfVal (#PCDATA)>
<!ATTLIST bi_ucfVal species IDREF #REQUIRED>

<!--Correction factor value, if used-->
<!ELEMENT bi_correctionFactorValue (bi_cfvVal+)*>
<!ELEMENT bi_cfvVal (#PCDATA)>
<!ATTLIST bi_cfvVal species IDREF #REQUIRED>

<!-- a in the biomass equation-->
<!ELEMENT bi_a (bi_aVal+)*>
<!ELEMENT bi_aVal (#PCDATA)>
<!ATTLIST bi_aVal species IDREF #REQUIRED>

<!-- b in the biomass equation-->
<!ELEMENT bi_b (bi_bVal+)*>
<!ELEMENT bi_bVal (#PCDATA)>
<!ATTLIST bi_bVal species IDREF #REQUIRED>

<!-- c in the biomass equation, if used-->
<!ELEMENT bi_c (bi_cVal+)*>
<!ELEMENT bi_cVal (#PCDATA)>
<!ATTLIST bi_cVal species IDREF #REQUIRED>

<!-- d in the biomass equation, if used-->
<!ELEMENT bi_d (bi_dVal+)*>
<!ELEMENT bi_dVal (#PCDATA)>
<!ATTLIST bi_dVal species IDREF #REQUIRED>

<!-- e in the biomass equation, if used-->
<!ELEMENT bi_e (bi_eVal+)*>
<!ELEMENT bi_eVal (#PCDATA)>
<!ATTLIST bi_eVal species IDREF #REQUIRED>

<!--*******************************
	Tree Bole Volume Calculator
	(Not to be confused with the other
	volume calculator behavior above)
********************************-->
<!-- b0 in the volume equation - species-specific -->
<!ELEMENT an_boleB0 (an_bb0Val+)*>
<!ELEMENT an_bb0Val (#PCDATA)>
<!ATTLIST an_bb0Val species IDREF #REQUIRED>

<!-- b1 in the volume equation - species-specific -->
<!ELEMENT an_boleB1 (an_bb1Val+)*>
<!ELEMENT an_bb1Val (#PCDATA)>
<!ATTLIST an_bb1Val species IDREF #REQUIRED>

<!-- b2 in the volume equation - species-specific -->
<!ELEMENT an_boleB2 (an_bb2Val+)*>
<!ELEMENT an_bb2Val (#PCDATA)>
<!ATTLIST an_bb2Val species IDREF #REQUIRED>

<!-- b3 in the volume equation - species-specific -->
<!ELEMENT an_boleB3 (an_bb3Val+)*>
<!ELEMENT an_bb3Val (#PCDATA)>
<!ATTLIST an_bb3Val species IDREF #REQUIRED>

<!-- b4 in the volume equation - species-specific -->
<!ELEMENT an_boleB4 (an_bb4Val+)*>
<!ELEMENT an_bb4Val (#PCDATA)>
<!ATTLIST an_bb4Val species IDREF #REQUIRED>

<!-- b5 in the volume equation - species-specific -->
<!ELEMENT an_boleB5 (an_bb5Val+)*>
<!ELEMENT an_bb5Val (#PCDATA)>
<!ATTLIST an_bb5Val species IDREF #REQUIRED>

<!-- Form classes, as a percentage between 60 and 100 - species-specific -->
<!ELEMENT an_boleFormClasses(an_bfcVal+)*>
<!ELEMENT an_bfcVal (#PCDATA)>
<!ATTLIST an_bfcVal species IDREF #REQUIRED>