Hi,
I just learning about dspace and after setting a Collection to import data
from a OJS I have the trouble of multiple langs.
The collection is on Spanish, Portuguese and English so I have everything
three times on the item view.
For example the *title-display.png* is what I see and the
*title-metadata.png* is the generated metadata, I don't see anything wrong
with the metadata but it has to only show one time on the display.
This is the code I have on item-view.xsl of xmlui
<!-- Title row -->
<xsl:when test="$clause = 1">
<xsl:choose>
<xsl:when test="descendant::text() and
(count(dim:field[@element='title'][not(@qualifier)]) > 1)">
<!-- display first title as h1 -->
<h1>
<xsl:value-of select=
"dim:field[@element='title'][not(@qualifier)][1]/node()"/>:
<xsl:value-of select=
"dim:field[@element='title'][not(@qualifier)][1]/node()"/>
<xsl:if
test="dim:field[@element='title'][@qualifier='subtitle'
and descendant::text()]">
<xsl:for-each select=
"dim:field[@element='title'][@qualifier='subtitle']">
<span>
<xsl:copy-of select="node()"/>
</span>
</xsl:for-each>
</xsl:if>
</h1>
<div class="simple-item-view-other">
<span class="bold">
<i18n:text>
xmlui.dri2xhtml.METS-1.0.item-title</i18n:text>:
</span>
<span>
<xsl:for-each select=
"dim:field[@element='title'][not(@qualifier)]">
<xsl:value-of select="./node()"/>
<xsl:if
test="count(following-sibling::dim:field[@element='title'][not(@qualifier)])
!= 0">
<xsl:text>; </xsl:text>
<br/>
</xsl:if>
</xsl:for-each>
</span>
</div>
</xsl:when>
<xsl:when
test="dim:field[@element='title'][descendant::text()]
and count(dim:field[@element='title'][not(@qualifier)]) = 1">
<h1>
<xsl:value-of select=
"dim:field[@element='title'][not(@qualifier)][1]/node()"/>
<xsl:if
test="dim:field[@element='title'][@qualifier='subtitle'
and descendant::text()]">
<label>:</label>
<xsl:for-each select=
"dim:field[@element='title'][@qualifier='subtitle']">
<span>
<xsl:copy-of select="node()"/>
</span>
</xsl:for-each>
</xsl:if>
</h1>
</xsl:when>
<xsl:otherwise>
<h1>
<i18n:text>xmlui.dri2xhtml.METS-1.0.no-title
</i18n:text>
</h1>
</xsl:otherwise>
</xsl:choose>
<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>
How can I fix this?
Regards! And help in advance.
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.