<?xml version="1.0" encoding="UTF-8"?>
<!--This is the DTD for Planting.  A series of planting events are defined, with 
    one	plant event being defined as for one timestep, one spacing of trees, and
    one set of grid cells.  More than one plant event can be defined for a 
    timestep and a species.  The grid cell areas do not	have to be continuous.-->
<!--Root-->
<!ELEMENT plant (pl_initialDiam10?, pl_plantEvent*)>

<!--This is the new seedling diameter at 10 cm for each species that will be planted.
	Actual values will be randomized slightly around this value.  If these values
	are	ommitted then the regular new seedling diam10 will be used. If there's a 
	new value for one species, there must be one for all.-->
<!ELEMENT pl_initialDiam10 (pl_idVal+)*>
<!ELEMENT pl_idVal (#PCDATA)>
<!ATTLIST pl_idVal species IDREF #REQUIRED>

<!ELEMENT pl_plantEvent (pl_applyToSpecies+, pl_timestep, pl_spaceType, 
   pl_distanceOrDensity, pl_amountToPlant, pl_applyToCell+)>
<!--Species to which to apply this planting-->
<!ELEMENT pl_applyToSpecies EMPTY>
<!ATTLIST pl_applyToSpecies species IDREF #REQUIRED>

<!--Timestep at which this cut is to occur-->
<!ELEMENT pl_timestep (#PCDATA)>

<!--Spacing - two possibilities:  "gridded" or "random".-->
<!ELEMENT pl_spaceType (#PCDATA)>

<!--If pl_spaceType is "gridded", this is the space	between trees, in meters.
 	If pl_spaceType is "random", this is the total density/ha of all species.-->
<!ELEMENT pl_distanceOrDensity (#PCDATA)>
 	
<!--Amount to plant as a percentage of each species-->
<!ELEMENT pl_amountToPlant (pl_atpVal+)*>
<!ELEMENT pl_atpVal (#PCDATA)>
<!ATTLIST pl_atpVal species IDREF #REQUIRED>

<!--One of these elements defines one grid cell to which to apply the cut-->
<!ELEMENT pl_applyToCell EMPTY>
<!ATTLIST pl_applyToCell x CDATA #REQUIRED
		  			     y CDATA #REQUIRED>



