Revision 1680
Added by Jing Tao almost 21 years ago
eml-2.0.0.xsl | ||
---|---|---|
30 | 30 |
* suitable for rendering with modern web browsers. |
31 | 31 |
--> |
32 | 32 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
33 |
<xsl:import href="eml-settings-2.0.0.xsl"/> |
|
34 |
<xsl:import href="eml-identifier-2.0.0.xsl"/> |
|
35 |
<xsl:import href="eml-text-2.0.0.xsl"/> |
|
33 |
<xsl:import href="eml-access-2.0.0.xsl"/> |
|
34 |
<xsl:import href="eml-attribute-2.0.0.xsl"/> |
|
35 |
<xsl:import href="eml-attribute-enumeratedDomain-2.0.0.xsl"/> |
|
36 |
<xsl:import href="eml-constraint-2.0.0.xsl"/> |
|
37 |
<xsl:import href="eml-coverage-2.0.0.xsl"/> |
|
36 | 38 |
<xsl:import href="eml-dataset-2.0.0.xsl"/> |
39 |
<xsl:import href="eml-datatable-2.0.0.xsl"/> |
|
40 |
<xsl:import href="eml-distribution-2.0.0.xsl"/> |
|
37 | 41 |
<xsl:import href="eml-entity-2.0.0.xsl"/> |
42 |
<xsl:import href="eml-identifier-2.0.0.xsl"/> |
|
43 |
<xsl:import href="eml-literature-2.0.0.xsl"/> |
|
44 |
<xsl:import href="eml-method-2.0.0.xsl"/> |
|
45 |
<xsl:import href="eml-otherentity-2.0.0.xsl"/> |
|
46 |
<xsl:import href="eml-party-2.0.0.xsl"/> |
|
38 | 47 |
<xsl:import href="eml-physical-2.0.0.xsl"/> |
39 |
<xsl:import href="eml-datatable-2.0.0.xsl"/> |
|
40 |
<xsl:import href="eml-attribute-2.0.0.xsl"/> |
|
41 |
|
|
48 |
<xsl:import href="eml-project-2.0.0.xsl"/> |
|
49 |
<xsl:import href="eml-protocol-2.0.0.xsl"/> |
|
50 |
<xsl:import href="eml-resource-2.0.0.xsl"/> |
|
51 |
<xsl:import href="eml-settings-2.0.0.xsl"/> |
|
52 |
<xsl:import href="eml-software-2.0.0.xsl"/> |
|
53 |
<xsl:import href="eml-spatialraster-2.0.0.xsl"/> |
|
54 |
<xsl:import href="eml-spatialvector-2.0.0.xsl"/> |
|
55 |
<xsl:import href="eml-storedprocedure-2.0.0.xsl"/> |
|
56 |
<xsl:import href="eml-text-2.0.0.xsl"/> |
|
57 |
<xsl:import href="eml-view-2.0.0.xsl"/> |
|
58 |
|
|
42 | 59 |
<xsl:output method="html" encoding="iso-8859-1"/> |
43 | 60 |
<!-- global variables to store id node set in case to be referenced--> |
44 | 61 |
<xsl:variable name="ids" select="//*[@id!='']"/> |
... | ... | |
50 | 67 |
href="{$stylePath}/{$qformat}.css" /> |
51 | 68 |
</head> |
52 | 69 |
<body> |
70 |
<table width="100%"> |
|
71 |
<tr> |
|
72 |
<td rowspan="2"><img src="@web-base-url@/images/KNBLogo.gif"/></td> |
|
73 |
<td colspan="7"><div class="title">Biocomplexity Data Search</div> |
|
74 |
</td> |
|
75 |
</tr> |
|
76 |
<tr> |
|
77 |
<td><a href="@web-base-url@" class="toollink"> KNB </a></td> |
|
78 |
<td><a href="@web-base-url@/data.html" class="toollink"> |
|
79 |
Data </a></td> |
|
80 |
<td><a href="@web-base-url@/people.html" class="toollink"> |
|
81 |
People </a></td> |
|
82 |
<td><a href="@web-base-url@/informatics" class="toollink"> |
|
83 |
Informatics </a></td> |
|
84 |
<td><a href="@web-base-url@/biodiversity" class="toollink"> |
|
85 |
Biodiversity </a></td> |
|
86 |
<td><a href="@web-base-url@/education" class="toollink"> |
|
87 |
Education </a></td> |
|
88 |
<td><a href="@web-base-url@/software" class="toollink"> |
|
89 |
Software </a></td> |
|
90 |
</tr> |
|
91 |
<tr> |
|
92 |
<td align="right" valign="top" colspan="7"> |
|
93 |
<form action="@html-path@/servlet/metacat" method="POST"> |
|
94 |
Data Search: <input type="text" name="anyfield" size="10" /> |
|
95 |
<input type="hidden" name="action" value="query" /> |
|
96 |
<input type="hidden" name="qformat" value="knb" /> |
|
97 |
<input type="hidden" name="operator" value="UNION" /> |
|
98 |
|
|
99 |
<input type="hidden" name="returnfield" |
|
100 |
value="creator/individualName/surName" /> |
|
101 |
<input type="hidden" name="returnfield" |
|
102 |
value="creator/organizationName" /> |
|
103 |
<input type="hidden" name="returnfield" |
|
104 |
value="originator/individualName/surName" /> |
|
105 |
<input type="hidden" name="returnfield" |
|
106 |
value="originator/individualName/givenName" /> |
|
107 |
<input type="hidden" name="returnfield" |
|
108 |
value="originator/organizationName" /> |
|
109 |
<input type="hidden" name="returnfield" |
|
110 |
value="title" /> |
|
111 |
<input type="hidden" name="returnfield" |
|
112 |
value="keyword" /> |
|
113 |
<input type="hidden" name="returndoctype" |
|
114 |
value="eml://ecoinformatics.org/eml-2.0.0" /> |
|
115 |
<input type="hidden" name="returndoctype" |
|
116 |
value="-//NCEAS//eml-dataset-2.0//EN" /> |
|
117 |
<input type="hidden" name="returndoctype" |
|
118 |
value="-//NCEAS//resource//EN" /> |
|
119 |
<input type="hidden" name="returndoctype" |
|
120 |
value="-//NCEAS//eml-dataset//EN" /> |
|
121 |
<input type="hidden" name="returndoctype" |
|
122 |
value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" /> |
|
123 |
<input type="hidden" name="returndoctype" |
|
124 |
value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" /> |
|
125 |
</form> |
|
126 |
</td> |
|
127 |
</tr> |
|
128 |
</table> |
|
53 | 129 |
<xsl:apply-templates select="*[local-name()='eml']"/> |
54 | 130 |
</body> |
55 | 131 |
</html> |
... | ... | |
141 | 217 |
</xsl:if> |
142 | 218 |
</xsl:for-each> |
143 | 219 |
</xsl:if> |
220 |
<xsl:if test="$entitytype='spatialRaster'"> |
|
221 |
<xsl:for-each select="spatialRaster"> |
|
222 |
<xsl:if test="position()=$entityindex"> |
|
223 |
<xsl:call-template name="spatialRaster"> |
|
224 |
<xsl:with-param name="spatialrasterfirstColStyle" select="$firstColStyle"/> |
|
225 |
<xsl:with-param name="spatialrastersubHeaderStyle" select="$subHeaderStyle"/> |
|
226 |
<xsl:with-param name="docid" select="$docid"/> |
|
227 |
<xsl:with-param name="entitytype" select="$entitytype"/> |
|
228 |
<xsl:with-param name="entityindex" select="$entityindex"/> |
|
229 |
</xsl:call-template> |
|
230 |
</xsl:if> |
|
231 |
</xsl:for-each> |
|
232 |
</xsl:if> |
|
233 |
<xsl:if test="$entitytype='spatialVector'"> |
|
234 |
<xsl:for-each select="spatialVector"> |
|
235 |
<xsl:if test="position()=$entityindex"> |
|
236 |
<xsl:call-template name="spatialVector"> |
|
237 |
<xsl:with-param name="spatialvectorfirstColStyle" select="$firstColStyle"/> |
|
238 |
<xsl:with-param name="spatialvectorsubHeaderStyle" select="$subHeaderStyle"/> |
|
239 |
<xsl:with-param name="docid" select="$docid"/> |
|
240 |
<xsl:with-param name="entitytype" select="$entitytype"/> |
|
241 |
<xsl:with-param name="entityindex" select="$entityindex"/> |
|
242 |
</xsl:call-template> |
|
243 |
</xsl:if> |
|
244 |
</xsl:for-each> |
|
245 |
</xsl:if> |
|
246 |
<xsl:if test="$entitytype='storedProcedure'"> |
|
247 |
<xsl:for-each select="storedProcedure"> |
|
248 |
<xsl:if test="position()=$entityindex"> |
|
249 |
<xsl:call-template name="storedProcedure"> |
|
250 |
<xsl:with-param name="storedprocedurefirstColStyle" select="$firstColStyle"/> |
|
251 |
<xsl:with-param name="storedproceduresubHeaderStyle" select="$subHeaderStyle"/> |
|
252 |
<xsl:with-param name="docid" select="$docid"/> |
|
253 |
<xsl:with-param name="entitytype" select="$entitytype"/> |
|
254 |
<xsl:with-param name="entityindex" select="$entityindex"/> |
|
255 |
</xsl:call-template> |
|
256 |
</xsl:if> |
|
257 |
</xsl:for-each> |
|
258 |
</xsl:if> |
|
259 |
<xsl:if test="$entitytype='view'"> |
|
260 |
<xsl:for-each select="view"> |
|
261 |
<xsl:if test="position()=$entityindex"> |
|
262 |
<xsl:call-template name="view"> |
|
263 |
<xsl:with-param name="viewfirstColStyle" select="$firstColStyle"/> |
|
264 |
<xsl:with-param name="viewsubHeaderStyle" select="$subHeaderStyle"/> |
|
265 |
<xsl:with-param name="docid" select="$docid"/> |
|
266 |
<xsl:with-param name="entitytype" select="$entitytype"/> |
|
267 |
<xsl:with-param name="entityindex" select="$entityindex"/> |
|
268 |
</xsl:call-template> |
|
269 |
</xsl:if> |
|
270 |
</xsl:for-each> |
|
271 |
</xsl:if> |
|
272 |
<xsl:if test="$entitytype='otherEntity'"> |
|
273 |
<xsl:for-each select="view"> |
|
274 |
<xsl:if test="position()=$entityindex"> |
|
275 |
<xsl:call-template name="otherEntity"> |
|
276 |
<xsl:with-param name="otherentityfirstColStyle" select="$firstColStyle"/> |
|
277 |
<xsl:with-param name="otherentitysubHeaderStyle" select="$subHeaderStyle"/> |
|
278 |
<xsl:with-param name="docid" select="$docid"/> |
|
279 |
<xsl:with-param name="entitytype" select="$entitytype"/> |
|
280 |
<xsl:with-param name="entityindex" select="$entityindex"/> |
|
281 |
</xsl:call-template> |
|
282 |
</xsl:if> |
|
283 |
</xsl:for-each> |
|
284 |
</xsl:if> |
|
144 | 285 |
</td> |
145 | 286 |
</tr> |
146 | 287 |
</xsl:template> |
... | ... | |
172 | 313 |
</tr> |
173 | 314 |
</xsl:template> |
174 | 315 |
|
316 |
<!--************************Attribute Domain************************--> |
|
175 | 317 |
|
176 | 318 |
|
177 | 319 |
|
320 |
<!--************************Attribute Method************************--> |
|
178 | 321 |
|
322 |
|
|
323 |
|
|
324 |
<!--************************Attribute Coverage************************--> |
|
325 |
|
|
326 |
|
|
327 |
<!--*************************Distribution Inline Data*****************--> |
|
328 |
|
|
329 |
|
|
330 |
|
|
331 |
|
|
332 |
|
|
179 | 333 |
<!--******************************************************** |
180 | 334 |
Citation part |
181 | 335 |
********************************************************--> |
... | ... | |
220 | 374 |
<xsl:with-param name="system" select="../@system"/> |
221 | 375 |
</xsl:call-template> |
222 | 376 |
</td></tr> |
377 |
<tr> |
|
378 |
<td width="100%"> |
|
379 |
<xsl:call-template name="software"> |
|
380 |
<xsl:with-param name="softwarefirstColStyle" select="$firstColStyle"/> |
|
381 |
<xsl:with-param name="softwaresubHeaderStyle" select="$subHeaderStyle"/> |
|
382 |
</xsl:call-template> |
|
383 |
</td> |
|
384 |
</tr> |
|
223 | 385 |
</table> |
224 | 386 |
</xsl:template> |
225 | 387 |
|
... | ... | |
239 | 401 |
<xsl:with-param name="system" select="../@system"/> |
240 | 402 |
</xsl:call-template> |
241 | 403 |
</td></tr> |
404 |
<tr> |
|
405 |
<td width="100%"> |
|
406 |
<xsl:call-template name="protocol"> |
|
407 |
<xsl:with-param name="protocolfirstColStyle" select="$firstColStyle"/> |
|
408 |
<xsl:with-param name="protocolsubHeaderStyle" select="$subHeaderStyle"/> |
|
409 |
</xsl:call-template> |
|
410 |
</td> |
|
411 |
</tr> |
|
242 | 412 |
</table> |
243 | 413 |
</xsl:template> |
244 | 414 |
|
Also available in: Unified diff
Revised some templates.