Project

General

Profile

« Previous | Next » 

Revision 5739

make links more intuitive with () and formatting

View differences:

annotation-root.xsl
121 121
				<xsl:variable name="mapCount">
122 122
					<xsl:value-of select="count(./*[local-name()='map'])"/>
123 123
				</xsl:variable>
124
				<td class="rowodd">
125
					Data Table (<xsl:value-of select="./@dataTable"/>):
124
				<td class="rowodd" width="33%">
125
					Data Table <xsl:value-of select="./@dataTable"/>:
126 126
     			</td>
127 127
     			<td class="roweven">
128
     				<a>
128
     				<xsl:for-each select="./*[local-name()='map']">
129
     					<xsl:value-of select="./@attribute"/>
130
     					<xsl:if test="position() != last()">, </xsl:if>
131
     				</xsl:for-each>
132
     				(<a>
129 133
						<xsl:attribute name="href">
130 134
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/>&amp;displaymodule=entity&amp;entitytype=dataTable&amp;entityindex=<xsl:value-of select="number(./@dataTable)+1"/>&amp;annotationId=<xsl:value-of select="./@id"/>
131 135
						</xsl:attribute>
132
						
133
	     				<xsl:for-each select="./*[local-name()='map']">
134
	     					<xsl:value-of select="./@attribute"/>
135
	     					<xsl:if test="position() != last()">, </xsl:if>
136
	     				</xsl:for-each>
137
	     				(<xsl:value-of select="$mapCount"/> attributes)	
138
					</a>	
136
	     				<xsl:value-of select="$mapCount"/>
137
	     				<xsl:text> attributes</xsl:text>	
138
					</a>)
139 139
     			</td>
140 140
     		</tr>
141 141
			<tr>
142 142
				<td class="rowodd">
143
     				Data Package (<xsl:value-of select="./@emlPackage"/>):
143
     				Data Package:
144 144
     			</td>
145 145
     			<td class="roweven">
146
     				<a>
146
     				<xsl:value-of select="./@emlPackage"/>
147
     				(<a>
147 148
						<xsl:attribute name="href">
148 149
							<xsl:value-of select="$tripleURI"/><xsl:value-of select="./@emlPackage"/>
149 150
						</xsl:attribute>
150
						View Metadata
151
					</a>
151
						<xsl:text>View Metadata</xsl:text>
152
					</a>)
152 153
											
153 154
					<!-- stats -->
154 155
					<span id="emlStats"></span>

Also available in: Unified diff