Revision 1689
Added by Jing Tao about 21 years ago
eml-method-2.0.0.xsl | ||
---|---|---|
38 | 38 |
<xsl:param name="methodsubHeaderStyle"/> |
39 | 39 |
<table class="tabledefault" width="100%"> |
40 | 40 |
<xsl:for-each select="methodStep"> |
41 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
|
42 |
<b>Step<xsl:text> </xsl:text><xsl:value-of select="position()"/>:</b> |
|
43 |
</td> |
|
44 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
|
45 |
  |
|
46 |
</td> |
|
47 |
</tr> |
|
41 | 48 |
<xsl:call-template name="methodStep"> |
42 | 49 |
<xsl:with-param name="methodfirstColStyle" select="$methodfirstColStyle"/> |
43 | 50 |
<xsl:with-param name="methodsubHeaderStyle" select="$methodsubHeaderStyle"/> |
... | ... | |
50 | 57 |
</xsl:call-template> |
51 | 58 |
</xsl:for-each> |
52 | 59 |
<xsl:for-each select="qualityControl"> |
60 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
|
61 |
<b>Quality Control Step<xsl:text> </xsl:text><xsl:value-of select="position()"/>:</b> |
|
62 |
</td> |
|
63 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
|
64 |
  |
|
65 |
</td> |
|
66 |
</tr> |
|
53 | 67 |
<xsl:call-template name="qualityControl"> |
54 | 68 |
<xsl:with-param name="methodfirstColStyle" select="$methodfirstColStyle"/> |
55 | 69 |
<xsl:with-param name="methodsubHeaderStyle" select="$methodsubHeaderStyle"/> |
... | ... | |
85 | 99 |
<xsl:template name="sampling"> |
86 | 100 |
<xsl:param name="methodfirstColStyle"/> |
87 | 101 |
<xsl:param name="methodsubHeaderStyle"/> |
88 |
<tr class="{$methodsubHeaderStyle}"><td colspan="2"><xsl:text>Sampling Info</xsl:text></td></tr> |
|
89 | 102 |
<xsl:for-each select="studyExtent"> |
90 | 103 |
<xsl:call-template name="studyExtent"> |
91 | 104 |
<xsl:with-param name="methodfirstColStyle" select="$methodfirstColStyle"/> |
... | ... | |
93 | 106 |
</xsl:for-each> |
94 | 107 |
<xsl:for-each select="samplingDescription"> |
95 | 108 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
96 |
Sampling Procedure
|
|
109 |
Sampling Description:
|
|
97 | 110 |
</td> |
98 | 111 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
99 |
  |
|
100 |
</td> |
|
101 |
</tr> |
|
102 |
<tr><td colspan="2"> |
|
103 |
<xsl:call-template name="text"> |
|
112 |
<xsl:call-template name="text"> |
|
104 | 113 |
<xsl:with-param name="textfirstColStyle" select="$methodfirstColStyle"/> |
105 | 114 |
</xsl:call-template> |
106 | 115 |
</td> |
107 |
</tr>
|
|
116 |
</tr> |
|
108 | 117 |
</xsl:for-each> |
109 | 118 |
<xsl:for-each select="spatialSamplingUnits"> |
110 |
<xsl:call-template name="studyExtent">
|
|
119 |
<xsl:call-template name="spatialSamplingUnits">
|
|
111 | 120 |
<xsl:with-param name="methodfirstColStyle" select="$methodfirstColStyle"/> |
112 | 121 |
</xsl:call-template> |
113 | 122 |
</xsl:for-each> |
114 | 123 |
<xsl:for-each select="citation"> |
115 | 124 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
116 |
Citation
|
|
125 |
Sampling Citation:
|
|
117 | 126 |
</td> |
118 | 127 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
119 |
  |
|
120 |
</td> |
|
121 |
</tr> |
|
122 |
<tr><td colspan="2"> |
|
123 |
<xsl:call-template name="citation"> |
|
128 |
<xsl:call-template name="citation"> |
|
124 | 129 |
<xsl:with-param name="citationfirstColStyle" select="$methodfirstColStyle"/> |
125 | 130 |
<xsl:with-param name="citationsubHeaderStyle" select="$methodsubHeaderStyle"/> |
126 | 131 |
</xsl:call-template> |
127 | 132 |
</td> |
128 | 133 |
</tr> |
129 |
</xsl:for-each> |
|
134 |
</xsl:for-each>
|
|
130 | 135 |
</xsl:template> |
131 | 136 |
|
132 | 137 |
<xsl:template name="studyExtent"> |
133 | 138 |
<xsl:param name="methodfirstColStyle"/> |
134 | 139 |
<xsl:param name="methodsubHeaderStyle"/> |
135 | 140 |
<xsl:for-each select="coverage"> |
136 |
<tr><td colspan="2"> |
|
137 |
<xsl:call-template name="coverage"> |
|
138 |
</xsl:call-template> |
|
141 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
|
142 |
Sampling Coverage: |
|
139 | 143 |
</td> |
140 |
</tr> |
|
144 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
|
145 |
<xsl:call-template name="coverage"> |
|
146 |
</xsl:call-template> |
|
147 |
</td> |
|
148 |
</tr> |
|
141 | 149 |
</xsl:for-each> |
142 | 150 |
<xsl:for-each select="description"> |
143 | 151 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
144 |
Sampling Area And Frequency |
|
152 |
Sampling Area And Frequency:
|
|
145 | 153 |
</td> |
146 | 154 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
147 |
  |
|
155 |
<xsl:call-template name="text"> |
|
156 |
<xsl:with-param name="textfirstColStyle" select="$methodfirstColStyle"/> |
|
157 |
</xsl:call-template> |
|
148 | 158 |
</td> |
149 |
</tr> |
|
150 |
<tr><td colspan="2"> |
|
151 |
<xsl:call-template name="text"> |
|
152 |
<xsl:with-param name="textfirstColStyle" select="$methodfirstColStyle"/> |
|
153 |
</xsl:call-template> |
|
154 |
</td> |
|
155 |
</tr> |
|
159 |
</tr> |
|
156 | 160 |
</xsl:for-each> |
157 | 161 |
</xsl:template> |
158 | 162 |
|
... | ... | |
160 | 164 |
<xsl:param name="methodfirstColStyle"/> |
161 | 165 |
<xsl:for-each select="referenceEntityId"> |
162 | 166 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
163 |
Sampling Unit Reference |
|
167 |
Sampling Unit Reference:
|
|
164 | 168 |
</td> |
165 | 169 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
166 | 170 |
<xsl:value-of select="."/> |
... | ... | |
169 | 173 |
</xsl:for-each> |
170 | 174 |
<xsl:for-each select="coverage"> |
171 | 175 |
<tr><td width="{$firstColWidth}" class="{$methodfirstColStyle}"> |
172 |
Sampling Unit Location |
|
176 |
Sampling Unit Location:
|
|
173 | 177 |
</td> |
174 | 178 |
<td width="${secondColWidth}" class="{$secondColStyle}"> |
175 |
  |
|
176 |
</td> |
|
177 |
</tr> |
|
178 |
<tr><td colspan="2"> |
|
179 |
<xsl:call-template name="coverage"> |
|
179 |
<xsl:call-template name="coverage"> |
|
180 | 180 |
</xsl:call-template> |
181 | 181 |
</td> |
182 | 182 |
</tr> |
... | ... | |
189 | 189 |
<xsl:template name="qualityControl"> |
190 | 190 |
<xsl:param name="methodfirstColStyle"/> |
191 | 191 |
<xsl:param name="methodsubHeaderStyle"/> |
192 |
<tr class="{$methodsubHeaderStyle}"><td colspan="2"><xsl:text>Quality Control</xsl:text></td></tr> |
|
193 | 192 |
<xsl:call-template name="step"> |
194 | 193 |
<xsl:with-param name="protocolfirstColStyle" select="$methodfirstColStyle"/> |
195 | 194 |
<xsl:with-param name="protocolsubHeaderStyle" select="$methodsubHeaderStyle"/> |
Also available in: Unified diff
Revise some templates.