I don't think that's it, Mark, because the same template works in our test 
instance, even with the <dd />.

http://scholarworks.calstate.edu/scholarworks_xmlui/handle/123456789/5

<dt>This item appears in the following Collection(s)</dt>
<dd />
<dt>Part of</dt>
<dd>http://www.aip.org; http://apl.aip.org/</dd>

I also don't get those i18n namespaces in the resulting output, as Dorthea 
does.  I also notice that some of the labels in the utils.xsl template are 
(slightly) different from the ones in the messages.xml file in out newly 
installed 1.5 instance.  Not sure what that means, honestly, just thought I'd 
mention it.

--Dave

==================
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu
________________________________________
From: Mark Diggory [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 2:40 PM
To: Dorothea Salo
Cc: [email protected]
Subject: Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

I believe its the section above...
"xmlui.ArtifactBrowser.ItemViewer.head_parent_collections" creates
the same label and your <dd> doesn't create any body, which closes it
out (dd/>) and breaks the flow.

>   <!-- 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>
>


On Sep 24, 2008, at 1:40 PM, Dorothea Salo wrote:

>> I wonder if we have enough XSL context to see the problem.
>
> The utilities template is available from
> <http://minds-test.wisconsin.edu/themes/utils.xsl>, and the UW-Madison
> theme that inherits this theme is at
> <http://minds-test.wisconsin.edu/themes/UWMadison/uwmadison.xsl>.
> Share and enjoy!
>
>> (Not that I'm anything like an XSL wizard, but this looks like a good
>> learning opportunity and, who knows? I might solve it.)
>>
>> The empty 'dd' really draws my attention but I can't yet see how it
>> happens.
>
> Oh, good, it's not just me! I'm baffled and feeling ungodly stupid
> that I can't seem to solve this (especially when the same technique
> seems to work FINE for authors!).
>
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

~~~~~~~~~~~~~
Mark R. Diggory - DSpace Developer and Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Home Page: http://purl.org/net/mdiggory/homepage






-------------------------------------------------------------------------
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to