Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-10-01 Thread Dorothea Salo
> if you define a global variable in your XSLT
> 
>
> you can access the dri info whenever you want by writing
>
> 

... yes.

I'm so glad there are people on this list who are smarter than I am.
:) That's a lot easier than what I was going to do.

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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-10-01 Thread Andreas Geyrecker
2008/9/25 Dorothea Salo <[EMAIL PROTECTED]>

> So there's no way at all to access DRI info from inside METS? That's
> distressing.
>
>
if you define a global variable in your XSLT


you can access the dri info whenever you want by writing



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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-25 Thread Dorothea Salo
On Thu, Sep 25, 2008 at 11:36 AM, Diggory Mark <[EMAIL PROTECTED]> wrote:
> 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:[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.

YOU ARE MY HERO. That was it. Mistaken attempt on my part to pull
collection info into the metadata section instead of having a separate
page section for it. I seriously owe you a drink; that was my last
showstopper bug (that I've found... still testing).

So there's no way at all to access DRI info from inside METS? That's
distressing.

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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-25 Thread Diggory Mark
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.



 
   

xmlui.ArtifactBrowser.ItemViewer.head_parent_collections
   

   
   
   
   
   ; 
   
   
   


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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-25 Thread Dorothea Salo
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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-25 Thread Walker, David
> Your sites down, so I can't view your example.

Sorry, bad timing with a hardware upgrade.  Back now.  :-)

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

As you can see, Dorthea's template renders this element as it should -- or at 
least without the duplicate definition term.  So that makes me think that the 
problem lies outside this template.

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

--Dave

==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

From: Mark Diggory [EMAIL PROTECTED] On Behalf Of Mark Diggory [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 4:55 PM
To: Walker, David
Cc: Dorothea Salo; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

I just think your messages.xml labels are different. the generated
html is the same and I bet the length of the value causes yours to
wrap to the line above. Your sites down, so I can't view your example.

Dorothea, could you just drop your war on a url somewhere and send it
to me... I'll look at it on my workstation.

-Mark


On Sep 24, 2008, at 4:43 PM, Walker, David wrote:

> I don't think that's it, Mark, because the same template works in
> our test instance, even with the .
>
> http://scholarworks.calstate.edu/scholarworks_xmlui/handle/123456789/5
>
> This item appears in the following Collection(s)
> 
> Part of
> http://www.aip.org; http://apl.aip.org/
>
> 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: dspace-tech@lists.sourceforge.net
> 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  doesn't create any body, which closes it
> out (dd/>) and breaks the flow.
>
>>   
>> 
>>
>> xmlui.ArtifactBrowser.ItemViewer.head_parent_collections> i
>> 18n:text>
>> 
>>
>> 
>> > select="/dri:document/dri:body/dri:div/
>> dri:referenceSet
>> [EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection-
>> viewer' and @n='collection-viewer']/dri:reference">
>> > 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"/>
>> 
>> ; 
>> 
>> 
>> 
>>
>
>
> 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,

Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Walker, David
I don't think that's it, Mark, because the same template works in our test 
instance, even with the .

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

This item appears in the following Collection(s)

Part of
http://www.aip.org; http://apl.aip.org/

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: dspace-tech@lists.sourceforge.net
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  doesn't create any body, which closes it
out (dd/>) and breaks the flow.

>   
> 
>
> xmlui.ArtifactBrowser.ItemViewer.head_parent_collections 18n:text>
> 
>
> 
>  select="/dri:document/dri:body/dri:div/
> dri:referenceSet
> [EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection-
> viewer' and @n='collection-viewer']/dri:reference">
>  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"/>
> 
> ; 
> 
> 
> 
>


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
> DSpace-tech@lists.sourceforge.net
> 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
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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Mark Diggory
I just think your messages.xml labels are different. the generated  
html is the same and I bet the length of the value causes yours to  
wrap to the line above. Your sites down, so I can't view your example.

Dorothea, could you just drop your war on a url somewhere and send it  
to me... I'll look at it on my workstation.

-Mark


On Sep 24, 2008, at 4:43 PM, Walker, David wrote:

> I don't think that's it, Mark, because the same template works in  
> our test instance, even with the .
>
> http://scholarworks.calstate.edu/scholarworks_xmlui/handle/123456789/5
>
> This item appears in the following Collection(s)
> 
> Part of
> http://www.aip.org; http://apl.aip.org/
>
> 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: dspace-tech@lists.sourceforge.net
> 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  doesn't create any body, which closes it
> out (dd/>) and breaks the flow.
>
>>   
>> 
>>
>> xmlui.ArtifactBrowser.ItemViewer.head_parent_collections> i
>> 18n:text>
>> 
>>
>> 
>> > select="/dri:document/dri:body/dri:div/
>> dri:referenceSet
>> [EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection-
>> viewer' and @n='collection-viewer']/dri:reference">
>> > 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"/>
>> 
>> ; 
>> 
>> 
>> 
>>
>
>
> 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
>> DSpace-tech@lists.sourceforge.net
>> 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
>
>
>
>
>
>

Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

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

>   
> 
>  
> xmlui.ArtifactBrowser.ItemViewer.head_parent_collections 18n:text>
> 
>
> 
>  select="/dri:document/dri:body/dri:div/ 
> dri:referenceSet 
> [EMAIL PROTECTED]'aspect.artifactbrowser.ItemViewer.referenceSet.collection- 
> viewer' and @n='collection-viewer']/dri:reference">
>  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"/>
> 
> ; 
> 
> 
> 
>


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
> , and the UW-Madison
> theme that inherits this theme is at
> .
> 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
> DSpace-tech@lists.sourceforge.net
> 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Walker, David
I copied just this template from the utils.xsl into the theme for our test 
instance:

   

And it seems to show the data just fine (other than that I don't have two of 
the labels defined)

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

Not sure if that helps or merely confuses matters more.  Maybe something in the 
local UW madison theme then?  Or maybe the METS file is messed-up?

--Dave

==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

From: Dorothea Salo [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 1:40 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Dorothea Salo
> I wonder if we have enough XSL context to see the problem.

The utilities template is available from
, and the UW-Madison
theme that inherits this theme is at
.
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Mark H. Wood
On Wed, Sep 24, 2008 at 02:54:17PM -0500, Dorothea Salo wrote:
> On Wed, Sep 24, 2008 at 2:43 PM, Mark Diggory <[EMAIL PROTECTED]> wrote:
> > Wheres the problem?
> 
> Well, in my browser (FFX3/Mac), the "Part of" header in the metadata
> section is doubled. If that's not happening for anybody else, that's
> good information!

Sorry, I see it here too, on FF2/Linux.

I wonder if we have enough XSL context to see the problem.

(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.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is "intuitive" he
means the exact opposite.



pgpo5nzpiK9eI.pgp
Description: PGP signature
-
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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Dorothea Salo
On Wed, Sep 24, 2008 at 2:39 PM, Walker, David <[EMAIL PROTECTED]> wrote:
> Gotta be this part, no?
>
>  
>
> Maybe it should just be:
>
>  

That also works to produce the URLs (and is maybe a bit cleaner), but
it doesn't address the problem. As I read the entire  thing,
it OUGHT to just trigger the once (producing just one  element),
but it's triggering twice, and I can't fathom why!

The HTML produced is:

Part of
http://apache.org/cocoon/i18n/2.1"; />
Part of
http://apache.org/cocoon/i18n/2.1";>http://www.aip.org;
http://apl.aip.org/

Those middle two elements shouldn't be there! Maybe that will help
elucidate the problem.

(Also, if anybody knows how to get rid of the constant xmlns:i18n
declarations, I'd appreciate the tip.)

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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Walker, David
Gotta be this part, no?

  

Maybe it should just be:

  

--Dave

==
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

From: Dorothea Salo [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2008 11:48 AM
To: DSpace
Subject: [Dspace-tech] Manakin: Why am I getting a doubled header?

First, the problem: .

Next, the code that is generating the problem:


  
xmlui.dri2xhtml-METS-1.0.ispartof
  
  

  
  
; 
  

  


My brain is broken. How did I mess this up?

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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Dorothea Salo
On Wed, Sep 24, 2008 at 2:43 PM, Mark Diggory <[EMAIL PROTECTED]> wrote:
> Wheres the problem?

Well, in my browser (FFX3/Mac), the "Part of" header in the metadata
section is doubled. If that's not happening for anybody else, that's
good information!

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


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Mark Diggory
Sorry, forget that last email, I was not reading closely.

This generates...

Part of
http://apache.org/cocoon/i18n/2.1"; />
Part of
http://apache.org/cocoon/i18n/2.1";>http:// 
www.aip.org; http://apl.aip.org/


The xsl:if test wrapping this xslt suggests your already inside the  
rendering of the "value" not the whole row... why not try

> 
> 
>   
>   
> ; 
>   
> 
> 




On Sep 24, 2008, at 11:48 AM, Dorothea Salo wrote:

> First, the problem:  1760/11124>.
>
> Next, the code that is generating the problem:
>
> 
>   
> xmlui.dri2xhtml-METS-1.0.ispartof
>   
>   
> 
>   
>   
> ; 
>   
> 
>   
> 
>
> My brain is broken. How did I mess this up?
>
> 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

~
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin: Why am I getting a doubled header?

2008-09-24 Thread Mark Diggory
Wheres the problem?

Note, Sometimes I get duplicate Headers when editing the xslt in  
place, I think this is caused by some caching bug in the application,  
it generally goes away if I restart the web-application.

-Mark

On Sep 24, 2008, at 11:48 AM, Dorothea Salo wrote:

> First, the problem:  1760/11124>.
>
> Next, the code that is generating the problem:
>
> 
>   
> xmlui.dri2xhtml-METS-1.0.ispartof
>   
>   
> 
>   
>   
> ; 
>   
> 
>   
> 
>
> My brain is broken. How did I mess this up?
>
> 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

~
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech