Actually, after looking at this further, I understand something more about the section below. The context in which this template is being executed is the "dim" section of a mets document, you cannot reference the below xpath in that location and have it evaluate properly, this is why that section is usually render in another template further down in the page.

/dri:document/dri:body/dri:div/ dri:referenceSet [EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection- viewer' and @n='collection-viewer']/dri:reference

Remove the whole section matching this statement and your problem will go away.

 <!-- Kill the fields if they're empty. -DS -->
           <dt>

<i18n:text>xmlui.ArtifactBrowser.ItemViewer.head_parent_collections</i
18n:text>
           </dt>

           <dd>
               <xsl:for-each
                   select="/dri:document/dri:body/dri:div/
dri:referenceSet
[EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection-
viewer' and @n='collection-viewer']/dri:reference">
                   <xsl:apply-templates
                       select="/dri:document/dri:body/dri:div/
dri:referenceSet
[EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection-
viewer'and @n='collection-viewer']/dri:reference"
                       mode="render"/>
                   <xsl:if test="count(following-
sibling::dri:reference) != 0">
                       <xsl:text>; </xsl:text>
                   </xsl:if>
               </xsl:for-each>
           </dd>

Likewise, yes I would recommend looking at those tempaltes/messages/ xml in 1.5 to migrate the theme appropriately to your new instance.

-Mark

On Sep 25, 2008, at 8:17 AM, Dorothea Salo wrote:

On Thu, Sep 25, 2008 at 9:10 AM, Walker, David <[EMAIL PROTECTED]> wrote:

I just think your messages.xml labels are different

Sorry, I was unclear before. I mean the actual keys, rather than just the labels, are different -- maybe because this is a pre-1.5 messages.xml ? That probably makes no difference.

Yes, that's right -- this template dates from 1.4.x + Manakin 1.x
days, when relation.ispartof wasn't in the out-of-the-box metadata
section, and I should probably take a look at what keys 1.5.x added,
to remove any duplication!

I'll nose around to see if there's another template or template
section going boom and let folks know. I really appreciate all the
help!

Dorothea

--
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to