Revision 5543
Added by ben leinfelder over 14 years ago
lib/style/skins/semtools/annotation-root.xsl | ||
---|---|---|
131 | 131 |
<br/> |
132 | 132 |
Ontology: <xsl:value-of select="fn:namespace-uri-for-prefix(substring-before(./*[local-name()='entity']/@id, ':'), .)"/> |
133 | 133 |
<br /> |
134 |
(Label: <xsl:value-of select="./@label"/>)
|
|
134 |
Label: <xsl:value-of select="./@label"/>
|
|
135 | 135 |
</td> |
136 | 136 |
<!-- measurement --> |
137 |
<td class="text_plain"> |
|
137 |
<td class="text_plain">
|
|
138 | 138 |
<xsl:for-each select="./*[local-name()='measurement']"> |
139 |
<xsl:for-each select="key('mapping', @label)"> |
|
140 |
Column: <xsl:value-of select="./@attribute" /> |
|
141 |
<br /> |
|
142 |
</xsl:for-each> |
|
143 |
<!-- |
|
144 |
<xsl:value-of select="./@label" /> |
|
145 |
<br /> |
|
146 |
--> |
|
147 |
Characteristic[s]: |
|
148 |
<xsl:for-each select="./*[local-name()='characteristic']"> |
|
149 |
<xsl:value-of select="./@id" /> |
|
150 |
</xsl:for-each> |
|
151 |
<br/> |
|
152 |
Standard: <xsl:value-of select="./*[local-name()='standard']/@id" /> |
|
153 |
<br/> |
|
154 |
Protocol: <xsl:value-of select="./*[local-name()='protocol']/@id" /> |
|
139 |
<table> |
|
140 |
<tr> |
|
141 |
<td class="text_plain"> |
|
142 |
Column: |
|
143 |
</td> |
|
144 |
<td class="text_plain"> |
|
145 |
<xsl:for-each select="key('mapping', @label)"> |
|
146 |
<xsl:value-of select="./@attribute" /> |
|
147 |
</xsl:for-each> |
|
148 |
</td> |
|
149 |
<td></td> |
|
150 |
</tr> |
|
151 |
<tr> |
|
152 |
<td class="text_plain"> |
|
153 |
Characteristic[s]: |
|
154 |
</td> |
|
155 |
<td class="text_plain"> |
|
156 |
<xsl:for-each select="./*[local-name()='characteristic']"> |
|
157 |
<!--xsl:value-of select="./@id" /--> |
|
158 |
<xsl:value-of select="substring-after(./@id, ':')"/> |
|
159 |
</xsl:for-each> |
|
160 |
</td> |
|
161 |
<td class="text_plain"> |
|
162 |
<xsl:for-each select="./*[local-name()='characteristic']"> |
|
163 |
<xsl:value-of select="fn:namespace-uri-for-prefix(substring-before(./@id, ':'), .)"/> |
|
164 |
</xsl:for-each> |
|
165 |
</td> |
|
166 |
</tr> |
|
167 |
<tr> |
|
168 |
<td class="text_plain"> |
|
169 |
Standard: |
|
170 |
</td> |
|
171 |
<td class="text_plain"> |
|
172 |
<!-- xsl:value-of select="./*[local-name()='standard']/@id" /--> |
|
173 |
<xsl:value-of select="substring-after(./*[local-name()='standard']/@id, ':')"/> |
|
174 |
</td> |
|
175 |
<td class="text_plain"> |
|
176 |
<xsl:value-of select="fn:namespace-uri-for-prefix(substring-before(./*[local-name()='standard']/@id, ':'), .)"/> |
|
177 |
</td> |
|
178 |
</tr> |
|
179 |
<tr> |
|
180 |
<td class="text_plain"> |
|
181 |
Protocol: |
|
182 |
</td> |
|
183 |
<td class="text_plain"> |
|
184 |
<!-- xsl:value-of select="./*[local-name()='protocol']/@id" /--> |
|
185 |
<xsl:value-of select="substring-after(./*[local-name()='protocol']/@id, ':')"/> |
|
186 |
</td> |
|
187 |
<td class="text_plain"> |
|
188 |
<xsl:value-of select="fn:namespace-uri-for-prefix(substring-before(./*[local-name()='protocol']/@id, ':'), .)"/> |
|
189 |
</td> |
|
190 |
</tr> |
|
191 |
</table> |
|
155 | 192 |
<hr/> |
156 | 193 |
</xsl:for-each> |
157 | 194 |
</td> |
Also available in: Unified diff
separate the class and the ontology from the the URI for easier reading. putting them in a table also helps