Revision 1679
Added by Jing Tao over 21 years ago
lib/style/eml2/eml-otherentity-2.0.0.xsl | ||
---|---|---|
77 | 77 |
</xsl:call-template> |
78 | 78 |
</xsl:for-each> |
79 | 79 |
<xsl:for-each select="entityType"> |
80 |
<tr><td width="{$firstColWidth}" class="{$spatialfirstColStyle}">
|
|
80 |
<tr><td width="{$firstColWidth}" class="{$otherentityfirstColStyle}">
|
|
81 | 81 |
Entity Type |
82 | 82 |
</td> |
83 | 83 |
<td width="{$secondColWidth}" class="{$secondColStyle}"> |
... | ... | |
102 | 102 |
</xsl:for-each> |
103 | 103 |
<!-- call physical moduel without show distribution(we want see it later)--> |
104 | 104 |
<xsl:if test="physical"> |
105 |
<tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
|
|
105 |
<tr><td class="{$otherentitysubHeaderStyle}" colspan="2">
|
|
106 | 106 |
Physical Structure Description |
107 | 107 |
</td></tr> |
108 | 108 |
</xsl:if> |
... | ... | |
115 | 115 |
</xsl:for-each> |
116 | 116 |
</td></tr> |
117 | 117 |
<xsl:if test="coverage"> |
118 |
<tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
|
|
118 |
<tr><td class="{$otherentitysubHeaderStyle}" colspan="2">
|
|
119 | 119 |
Coverage Description |
120 | 120 |
</td></tr> |
121 | 121 |
</xsl:if> |
... | ... | |
126 | 126 |
</td></tr> |
127 | 127 |
</xsl:for-each> |
128 | 128 |
<xsl:if test="method"> |
129 |
<tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
|
|
129 |
<tr><td class="{$otherentitysubHeaderStyle}" colspan="2">
|
|
130 | 130 |
Method Description |
131 | 131 |
</td></tr> |
132 | 132 |
</xsl:if> |
... | ... | |
134 | 134 |
<tr><td colspan="2"> |
135 | 135 |
<xsl:call-template name="method"> |
136 | 136 |
<xsl:with-param name="methodfirstColStyle" select="$otherentityfirstColStyle"/> |
137 |
<xsl:with-param name="methodsubHeaderStyle" select="$datatablesubHeaderStyle"/>
|
|
137 |
<xsl:with-param name="methodsubHeaderStyle" select="$otherentitysubHeaderStyle"/>
|
|
138 | 138 |
</xsl:call-template> |
139 | 139 |
</td></tr> |
140 | 140 |
</xsl:for-each> |
141 | 141 |
<xsl:if test="constraint"> |
142 |
<tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
|
|
142 |
<tr><td class="{$otherentitysubHeaderStyle}" colspan="2">
|
|
143 | 143 |
Constraint |
144 | 144 |
</td></tr> |
145 | 145 |
</xsl:if> |
... | ... | |
165 | 165 |
<xsl:with-param name="entityindex" select="$entityindex"/> |
166 | 166 |
<xsl:with-param name="physicalindex" select="position()"/> |
167 | 167 |
<xsl:with-param name="disfirstColStyle" select="$otherentityfirstColStyle"/> |
168 |
<xsl:with-param name="dissubHeaderStyle" select="$spatialrasterHeaderStyle"/>
|
|
168 |
<xsl:with-param name="dissubHeaderStyle" select="$otherentitysubHeaderStyle"/>
|
|
169 | 169 |
</xsl:call-template> |
170 | 170 |
</xsl:for-each> |
171 | 171 |
</xsl:template> |
172 | 172 |
|
173 | 173 |
<xsl:template name="otherEntityShowDistribution"> |
174 | 174 |
<xsl:param name="otherentityfirstColStyle"/> |
175 |
<xsl:param name="storedprocedureHeaderStyle"/>
|
|
175 |
<xsl:param name="otherentitysubHeaderStyle"/>
|
|
176 | 176 |
<xsl:param name="docid"/> |
177 | 177 |
<xsl:param name="level">entitylevel</xsl:param> |
178 | 178 |
<xsl:param name="entitytype">otherEntity</xsl:param> |
... | ... | |
188 | 188 |
<xsl:with-param name="physicalindex" select="$physicalindex"/> |
189 | 189 |
<xsl:with-param name="distributionindex" select="position()"/> |
190 | 190 |
<xsl:with-param name="disfirstColStyle" select="$otherentityfirstColStyle"/> |
191 |
<xsl:with-param name="dissubHeaderStyle" select="$spatialrasterHeaderStyle"/>
|
|
191 |
<xsl:with-param name="dissubHeaderStyle" select="$otherentitysubHeaderStyle"/>
|
|
192 | 192 |
</xsl:call-template> |
193 | 193 |
</td></tr> |
194 | 194 |
</xsl:for-each> |
... | ... | |
201 | 201 |
<xsl:param name="docid"/> |
202 | 202 |
<xsl:param name="entitytype">otherEntity</xsl:param> |
203 | 203 |
<xsl:param name="entityindex"/> |
204 |
<tr><td class="{$spatialrasterHeaderStyle}" colspan="2">
|
|
204 |
<tr><td class="{$otherentitysubHeaderStyle}" colspan="2">
|
|
205 | 205 |
<xsl:text>Attribute Info:</xsl:text> |
206 | 206 |
</td></tr> |
207 | 207 |
<tr><td colspan="2"> |
lib/style/eml2/eml-software-2.0.0.xsl | ||
---|---|---|
64 | 64 |
<xsl:param name="softwaresubHeaderStyle"/> |
65 | 65 |
<tr><td class="{$softwaresubHeaderStyle}" colspan="2"> |
66 | 66 |
<xsl:text>Software:</xsl:text></td></tr> |
67 |
<xsl:call-templates name="resource">
|
|
67 |
<xsl:call-template name="resource"> |
|
68 | 68 |
<xsl:with-param name="resfirstColStyle" select="$softwarefirstColStyle"/> |
69 | 69 |
<xsl:with-param name="ressubHeaderStyle" select="$softwaresubHeaderStyle"/> |
70 |
<xsl:with-param name="creator">Author(s):</xsl:with-param>>
|
|
71 |
</xsl:call-templates>
|
|
72 |
<xsl:call-templates name="implementation">
|
|
70 |
<xsl:with-param name="creator">Author(s):</xsl:with-param> |
|
71 |
</xsl:call-template> |
|
72 |
<xsl:call-template name="implementation"> |
|
73 | 73 |
<xsl:with-param name="softwarefirstColStyle" select="$softwarefirstColStyle"/> |
74 | 74 |
<xsl:with-param name="softwaresubHeaderStyle" select="$softwaresubHeaderStyle"/> |
75 |
</xsl:call-templates>
|
|
75 |
</xsl:call-template> |
|
76 | 76 |
<xsl:for-each select="dependency"> |
77 | 77 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
78 | 78 |
Dependency |
... | ... | |
242 | 242 |
<xsl:param name="softwaresubHeaderStyle"/> |
243 | 243 |
<xsl:for-each select="../dependency"> |
244 | 244 |
<tr><td width="{$firstColWidth}" class="{$softwarefirstColStyle}"> |
245 |
<b><xsl:value-of select="action"/></b> <xsl:test> Depend on</xsl:test>
|
|
245 |
<b><xsl:value-of select="action"/></b> <xsl:text> Depend on</xsl:text>
|
|
246 | 246 |
</td> |
247 | 247 |
<td width="{$secondColWidth}"> |
248 | 248 |
<xsl:for-each select="software"> |
lib/style/eml2/eml-resource-2.0.0.xsl | ||
---|---|---|
409 | 409 |
</xsl:template> |
410 | 410 |
|
411 | 411 |
|
412 |
<xsl:template match="triple"/> |
|
413 |
<xsl:template match="triple[1]" mode="resource"> |
|
414 |
<tr><td class="{$subHeaderStyle}" colspan="2"> |
|
415 |
<xsl:text>Related Metadata and Data Files:</xsl:text></td></tr> |
|
416 |
<xsl:call-template name="renderTriple"> |
|
417 |
<xsl:with-param name="indentation" select="1"></xsl:with-param> |
|
418 |
</xsl:call-template> |
|
419 |
|
|
420 |
</xsl:template> |
|
421 |
|
|
422 |
<xsl:template match="triple" mode="resource"> |
|
423 |
<xsl:if test="(./subject)!=(./object)"> |
|
424 |
<!-- render only for subsequent data files --> |
|
425 |
<xsl:if test="starts-with(./relationship,'isDataFileFor')"> |
|
426 |
<xsl:call-template name="renderTriple"> |
|
427 |
<xsl:with-param name="indentation" select="1"></xsl:with-param> |
|
428 |
</xsl:call-template> |
|
429 |
</xsl:if> |
|
430 |
<xsl:if test="starts-with(./relationship,'provides eml-project information')"> |
|
431 |
<xsl:call-template name="renderTriple"> |
|
432 |
<xsl:with-param name="indentation" select="1"></xsl:with-param> |
|
433 |
</xsl:call-template> |
|
434 |
</xsl:if> |
|
435 |
|
|
436 |
</xsl:if> |
|
437 |
</xsl:template> |
|
438 |
|
|
439 |
<!--xsl:template name="renderTriple"> |
|
440 |
<tr><td width="{$firstColWidth}" class="{$firstColStyle}"> |
|
441 |
<xsl:text> </xsl:text></td><td width="{$secondColWidth}" class="{$secondColStyle}"> |
|
442 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute><xsl:value-of select="./subject"/></a> |
|
443 |
<xsl:text>   </xsl:text> |
|
444 |
<xsl:value-of select="./relationship"/> |
|
445 |
<xsl:text>   </xsl:text> |
|
446 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./object"/></xsl:attribute><xsl:value-of select="./object"/></a> |
|
447 |
</td></tr> |
|
448 |
</xsl:template--> |
|
449 |
|
|
450 |
<xsl:template name="renderTriple"> |
|
451 |
<xsl:param name="indentation">1</xsl:param> |
|
452 |
<tr></tr><tr> <td></td> |
|
453 |
<td width="{$secondColWidth}" class="{$secondColStyle}" padding-left="{$indentation}em"> |
|
454 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute> |
|
455 |
<xsl:if test="$indentation=2"> |
|
456 |
     • |
|
457 |
</xsl:if> |
|
458 |
<xsl:if test="$indentation=3"> |
|
459 |
          • |
|
460 |
</xsl:if> |
|
461 |
<xsl:if test="starts-with(./relationship,'isDataFileFor')"> |
|
462 |
<xsl:text>Data file for this document</xsl:text> |
|
463 |
<xsl:variable name="subj"> <xsl:value-of select="./subject"/> </xsl:variable> |
|
464 |
<xsl:for-each select="../triple"> |
|
465 |
<xsl:if test="(./object)=$subj"> |
|
466 |
<xsl:if test="starts-with(./relationship,'provides access control')"> |
|
467 |
    |
|
468 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute> |
|
469 |
(Access Rules)</a> |
|
470 |
</xsl:if> |
|
471 |
</xsl:if> |
|
472 |
</xsl:for-each> |
|
473 |
<xsl:for-each select="../triple"> |
|
474 |
<xsl:if test="(./object)=$subj"> |
|
475 |
<xsl:if test="not(starts-with(./relationship,'provides access control'))"> |
|
476 |
<xsl:call-template name="renderTriple"> |
|
477 |
<xsl:with-param name="indentation" select="($indentation + 1)"> |
|
478 |
</xsl:with-param> |
|
479 |
</xsl:call-template> |
|
480 |
</xsl:if> |
|
481 |
</xsl:if> |
|
482 |
</xsl:for-each> |
|
483 |
</xsl:if> |
|
484 |
|
|
485 |
<xsl:if test="starts-with(./relationship,'provides table-entity information')"> |
|
486 |
<xsl:text>Information about the data file</xsl:text> |
|
487 |
<xsl:variable name="subj"> <xsl:value-of select="./subject"/> </xsl:variable> |
|
488 |
<xsl:for-each select="../triple"> |
|
489 |
<xsl:if test="(./object)=$subj"> |
|
490 |
<xsl:if test="starts-with(./relationship,'provides access control')"> |
|
491 |
    |
|
492 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute> |
|
493 |
(Access Rules)</a> |
|
494 |
</xsl:if> |
|
495 |
</xsl:if> |
|
496 |
</xsl:for-each> |
|
497 |
<xsl:for-each select="../triple"> |
|
498 |
<xsl:if test="(./object)=$subj"> |
|
499 |
<xsl:if test="not(starts-with(./relationship,'provides access control'))"> |
|
500 |
<xsl:call-template name="renderTriple"> |
|
501 |
<xsl:with-param name="indentation" select="($indentation + 1)"> |
|
502 |
</xsl:with-param> |
|
503 |
</xsl:call-template> |
|
504 |
</xsl:if> |
|
505 |
</xsl:if> |
|
506 |
</xsl:for-each> |
|
507 |
</xsl:if> |
|
508 |
|
|
509 |
<xsl:if test="starts-with(./relationship,'provides eml-attribute information')"> |
|
510 |
<xsl:text>Definition of each column in the data file</xsl:text> |
|
511 |
<xsl:variable name="subj"> <xsl:value-of select="./subject"/> </xsl:variable> |
|
512 |
<xsl:for-each select="../triple"> |
|
513 |
<xsl:if test="(./object)=$subj"> |
|
514 |
<xsl:if test="starts-with(./relationship,'provides access control')"> |
|
515 |
    |
|
516 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute> |
|
517 |
(Access Rules)</a> |
|
518 |
</xsl:if> |
|
519 |
</xsl:if> |
|
520 |
</xsl:for-each> |
|
521 |
<xsl:for-each select="../triple"> |
|
522 |
<xsl:if test="(./object)=$subj"> |
|
523 |
<xsl:if test="not(starts-with(./relationship,'provides access control'))"> |
|
524 |
<xsl:call-template name="renderTriple"> |
|
525 |
<xsl:with-param name="indentation" select="($indentation + 1)"> |
|
526 |
</xsl:with-param> |
|
527 |
</xsl:call-template> |
|
528 |
</xsl:if> |
|
529 |
</xsl:if> |
|
530 |
</xsl:for-each> |
|
531 |
</xsl:if> |
|
532 |
<xsl:if test="starts-with(./relationship,'provides eml-physical information')"> |
|
533 |
<xsl:text>Physical data file layout information</xsl:text> |
|
534 |
<xsl:variable name="subj"> <xsl:value-of select="./subject"/> </xsl:variable> |
|
535 |
<xsl:for-each select="../triple"> |
|
536 |
<xsl:if test="(./object)=$subj"> |
|
537 |
<xsl:if test="starts-with(./relationship,'provides access control')"> |
|
538 |
    |
|
539 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute> |
|
540 |
(Access Rules)</a> |
|
541 |
</xsl:if> |
|
542 |
</xsl:if> |
|
543 |
</xsl:for-each> |
|
544 |
<xsl:for-each select="../triple"> |
|
545 |
<xsl:if test="(./object)=$subj"> |
|
546 |
<xsl:if test="not(starts-with(./relationship,'provides access control'))"> |
|
547 |
<xsl:call-template name="renderTriple"> |
|
548 |
<xsl:with-param name="indentation" select="($indentation + 1)"> |
|
549 |
</xsl:with-param> |
|
550 |
</xsl:call-template> |
|
551 |
</xsl:if> |
|
552 |
</xsl:if> |
|
553 |
</xsl:for-each> |
|
554 |
</xsl:if> |
|
555 |
<xsl:if test="starts-with(./relationship,'provides eml-project information')"> |
|
556 |
<xsl:text>Project information</xsl:text> |
|
557 |
<xsl:variable name="subj"> <xsl:value-of select="./subject"/> </xsl:variable> |
|
558 |
<xsl:for-each select="../triple"> |
|
559 |
<xsl:if test="(./object)=$subj"> |
|
560 |
<xsl:if test="starts-with(./relationship,'provides access control')"> |
|
561 |
    |
|
562 |
<a><xsl:attribute name="href"><xsl:value-of select="$tripleURI" /><xsl:value-of select="./subject"/></xsl:attribute> |
|
563 |
(Access Rules)</a> |
|
564 |
</xsl:if> |
|
565 |
</xsl:if> |
|
566 |
</xsl:for-each> |
|
567 |
<xsl:for-each select="../triple"> |
|
568 |
<xsl:if test="(./object)=$subj"> |
|
569 |
<xsl:if test="not(starts-with(./relationship,'provides access control'))"> |
|
570 |
<xsl:call-template name="renderTriple"> |
|
571 |
<xsl:with-param name="indentation" select="($indentation + 1)"> |
|
572 |
</xsl:with-param> |
|
573 |
</xsl:call-template> |
|
574 |
</xsl:if> |
|
575 |
</xsl:if> |
|
576 |
</xsl:for-each> |
|
577 |
</xsl:if> |
|
578 |
</a> |
|
579 |
</td></tr> |
|
580 |
</xsl:template> |
|
581 |
|
|
582 | 412 |
</xsl:stylesheet> |
lib/style/eml2/eml-protocol-2.0.0.xsl | ||
---|---|---|
63 | 63 |
<xsl:template name="protocolcommon"> |
64 | 64 |
<xsl:param name="protocolfirstColStyle"/> |
65 | 65 |
<xsl:param name="protocolsubHeaderStyle"/> |
66 |
<xsl:call-templates name="resource">
|
|
66 |
<xsl:call-template name="resource"> |
|
67 | 67 |
<xsl:with-param name="resfirstColStyle" select="$protocolfirstColStyle"/> |
68 | 68 |
<xsl:with-param name="ressubHeaderStyle" select="$protocolsubHeaderStyle"/> |
69 |
<xsl:with-param name="creator">Author(s):</xsl:with-param>>
|
|
70 |
</xsl:call-templates>
|
|
69 |
<xsl:with-param name="creator">Author(s):</xsl:with-param> |
|
70 |
</xsl:call-template> |
|
71 | 71 |
<xsl:for-each select="proceduralStep"> |
72 | 72 |
<tr><td colspan="2" class="{$protocolsubHeaderStyle}"> |
73 | 73 |
<b>Step</b><xsl:text> </xsl:text><xsl:value-of select="position()"/> |
Also available in: Unified diff
Fixed bugs.