Hello all,
I've been working with
[dspace]/webapps/xmlui/themes/my-theme/.../item-view.xsl to have it
display specific bundles for an item with an appropriate header. The
intention is to clearly display for the user the different parts of an item.
This code works fine, for example, for one bundle:
<xsl:when test="../mets:fileGrp[@USE='PRESERVATION']">
<h2><i18n:text>xmlui.dri2xhtml.METS-1.0.item-files-head-preservation</i18n:text></h2>
<xsl:apply-templates
select="../mets:fileGrp[@USE='PRESERVATION']/mets:file">
<xsl:with-param name="context" select="$context"/>
</xsl:apply-templates>
</xsl:when>
However, when applying the same template to the ORIGINAL bundle
(changing PRESERVATION to ORIGINAL), the item view does not render any
files in ORIGINAL.
A second, related question: Even when removing this ORIGINAL call
completely, PRESERVATION files are rendered twice; where in
item-view.xsl are item files being called again? I have removed the
"<xsl:otherwise>" condition at:
https://github.com/DSpace/DSpace/blob/a0714564b78134d7b1dc2e32105aea3e38ffdbb3/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/aspect/artifactbrowser/item-view.xsl#L376
...as I only want specifically called bundles to display.
Any suggestions are appreciated.
Many thanks,
Walker
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette