首页 > 解决方案 > 如何在 DSpace 的摘要视图 (Mirage) 中显示自定义元数据?

问题描述

我尝试使用此链接所述的建议: 如何在 DSpace 的摘要视图中显示自定义元数据?

但是,但我没有收到任何更改,包括重新启动 Tomcat 后。任何人都可以就我做错了什么提供建议吗?

/dspace/webapps/xmlui/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl

xmlui.dri2xhtml.METS-1.0.item-issn:

                    <xsl:if test="count(following-sibling::dim:field[@element='identifier' and @qualifier='issn']) != 0">
                      <br/>
                    </xsl:if>
                  </xsl:for-each>
              </span>
          </div>
          <xsl:call-template name="itemSummaryView-DIM-fields">
            <xsl:with-param name="clause" select="($clause + 1)"/>
            <xsl:with-param name="phase" select="$otherPhase"/>
          </xsl:call-template>
      </xsl:when>

      <!-- identifier.uri row -->
      <xsl:when test="$clause = 4 and (dim:field[@element='identifier' and @qualifier='uri' and descendant::text()])">
                <div class="simple-item-view-other">
                <span class="bold"><i18n:text>xmlui.dri2xhtml.METS-1.0.item-uri</i18n:text>:</span>
                <span>
                    <xsl:for-each select="dim:field[@element='identifier' and @qualifier='uri']">
                        <a>
                            <xsl:attribute name="href">
                                <xsl:copy-of select="./node()"/>
                            </xsl:attribute>
                            <xsl:copy-of select="./node()"/>
                        </a>
                        <xsl:if test="count(following-sibling::dim:field[@element='identifier' and @qualifier='uri']) != 0">
                            <br/>
                        </xsl:if>
                    </xsl:for-each>
                </span>
            </div>
          <xsl:call-template name="itemSummaryView-DIM-fields">
            <xsl:with-param name="clause" select="($clause + 1)"/>
            <xsl:with-param name="phase" select="$otherPhase"/>
          </xsl:call-template>
      </xsl:when>

标签: dspace

解决方案


推荐阅读