Revision 8071
Added by ben leinfelder over 11 years ago
lib/style/skins/metacatui/eml-2/eml-identifier.xsl | ||
---|---|---|
102 | 102 |
|
103 | 103 |
<!-- show link? --> |
104 | 104 |
<xsl:if test="$withHTMLLinks = '1'"> |
105 |
<a> |
|
105 |
<a id="viewMetadataCitationLink">
|
|
106 | 106 |
<xsl:attribute name="href"> |
107 |
<xsl:value-of select="$viewURI"/><xsl:value-of select="$pid"/> |
|
108 |
</xsl:attribute> |
|
107 |
<!--<xsl:value-of select="$viewURI"/><xsl:value-of select="$pid"/>--> |
|
108 |
<xsl:text>#view/</xsl:text><xsl:value-of select="$pid"/> |
|
109 |
</xsl:attribute> |
|
109 | 110 |
(<xsl:value-of select="$pid"/>) |
110 | 111 |
</a> |
111 | 112 |
</xsl:if> |
Also available in: Unified diff
use #view/{pid} pattern for the citation link, and then /object/{pid} for the XML download -- so no old Metacat API calls show in the rendered EML.