Revision 5542
Added by ben leinfelder over 14 years ago
lib/style/skins/semtools/annotation-root.xsl | ||
---|---|---|
35 | 35 |
version="2.0"> |
36 | 36 |
|
37 | 37 |
<xsl:output method="html" /> |
38 |
<xsl:param name="sessid" /> |
|
38 |
<xsl:param name="sessionid" />
|
|
39 | 39 |
<xsl:param name="qformat">semtools</xsl:param> |
40 | 40 |
<xsl:param name="enableediting">false</xsl:param> |
41 | 41 |
<xsl:param name="contextURL"/> |
42 | 42 |
|
43 |
<xsl:param name="tripleURI"><xsl:value-of select="$contextURL" /><![CDATA[/metacat?action=read&qformat=]]><xsl:value-of select="$qformat" /><![CDATA[&sessionid=]]><xsl:value-of select="$sessionid" /><![CDATA[&docid=]]></xsl:param> |
|
44 |
|
|
43 | 45 |
<xsl:key name="mapping" match="//*[local-name()='map']" use="@measurement" /> |
44 | 46 |
|
45 | 47 |
<xsl:template name="annotation"> |
... | ... | |
55 | 57 |
</tr> |
56 | 58 |
<tr class="subpanel"> |
57 | 59 |
<td class="text_plain" colspan="2"> |
58 |
ID: <xsl:value-of select="./@id"/> |
|
59 |
<br /> |
|
60 |
Data Package: <xsl:value-of select="./@emlPackage"/> |
|
61 |
<br /> |
|
62 |
Data Table: <xsl:value-of select="./@dataTable"/> |
|
60 |
<table> |
|
61 |
<tr> |
|
62 |
<td class="text_plain"> |
|
63 |
ID: |
|
64 |
</td> |
|
65 |
<td class="text_plain"> |
|
66 |
<xsl:value-of select="./@id"/> |
|
67 |
</td> |
|
68 |
<td class="text_plain"> |
|
69 |
<a> |
|
70 |
<xsl:attribute name="href"> |
|
71 |
<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@id"/></xsl:attribute> |
|
72 |
<b>View Annotation</b> |
|
73 |
</a> |
|
74 |
</td> |
|
75 |
</tr> |
|
76 |
<tr> |
|
77 |
<td class="text_plain"> |
|
78 |
Data Package: |
|
79 |
</td> |
|
80 |
<td class="text_plain"> |
|
81 |
<xsl:value-of select="./@emlPackage"/> |
|
82 |
</td> |
|
83 |
<td class="text_plain"> |
|
84 |
<a> |
|
85 |
<xsl:attribute name="href"> |
|
86 |
<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/></xsl:attribute> |
|
87 |
<b>View Data Package</b> |
|
88 |
</a> |
|
89 |
</td> |
|
90 |
</tr> |
|
91 |
<tr> |
|
92 |
<td class="text_plain"> |
|
93 |
Data Table: |
|
94 |
</td> |
|
95 |
<td class="text_plain"> |
|
96 |
<xsl:value-of select="./@dataTable"/> |
|
97 |
</td> |
|
98 |
<td class="text_plain"> |
|
99 |
<a> |
|
100 |
<xsl:attribute name="href"> |
|
101 |
<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/>&displaymodule=entity&entitytype=dataTable&entityindex=<xsl:value-of select="number(./@dataTable)+1"/> |
|
102 |
</xsl:attribute> |
|
103 |
<b>View Data Table Metadata</b> |
|
104 |
</a> |
|
105 |
</td> |
|
106 |
</tr> |
|
107 |
</table> |
|
63 | 108 |
</td> |
64 | 109 |
</tr> |
65 | 110 |
<tr class="subpanel"> |
Also available in: Unified diff
include links from annotation to the data package metadata