As I start my second cup of coffee, Dorthea, I realize you might add something 
like this to your theme XSLT as well:

<xsl:template match="dri:label" priority="1" mode="nested">
<xsl:if test="text() != 'remove' and text() != 'selected'">
  <xsl:copy-of select="./node()"/>
</xsl:if>
</xsl:template>

Or in some way override that template to achieve your goal.

--Dave

==================
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu
________________________________________
From: Walker, David
Sent: Tuesday, January 05, 2010 7:33 AM
To: Dorothea Salo; Jason Fowler
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] XMLUI: checkbox labels?

I see 'remove' in the XML itself, in a DRI <label> node.  So it's not going to 
be in either the XSLT or messages.xml.  Must be hard-coded in the Java 
somewhere -- I draw the line at searching through Java code. ;-)

I wonder, though, if you might be able to just nix it with CSS?  I would 
suspect, too, that the label is important for accessibility, so that might the 
better route altogether.

--Dave

==================
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu
________________________________________
From: Dorothea Salo [dorothea.s...@gmail.com]
Sent: Tuesday, January 05, 2010 7:13 AM
To: Jason Fowler
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] XMLUI: checkbox labels?

I thought so at first! But no, I don't see the actual text "remove" or
"selected" or anything of the sort anywhere nearby.

(For context, I'm trying to get rid of those two labels specifically
because they gunk up the display for no real usability benefit.)

Dorothea

On Tue, Jan 5, 2010 at 9:07 AM, Jason Fowler <jfow...@sbts.edu> wrote:
> Dorothea,
>
> Could it be in the lines in structural.xsl that look like this?
>
> <input type="checkbox" value="{concat(@n,'_',$position)}" 
> name="{concat(@n,'_selected')}"/>
>
> Jason Fowler, CA, MSLS
> Archives and Special Collections Librarian
> The Southern Baptist Theological Seminary
> Vice President, ALABI
> jfow...@sbts.edu
> ________________________________________
> From: Dorothea Salo [dorothea.s...@gmail.com]
> Sent: Tuesday, January 05, 2010 9:38 AM
> To: Dspace Tech
> Subject: [Dspace-tech] XMLUI: checkbox labels?
>
> Does anybody know offhand where the labels on checkboxes (e.g.
> "remove" and "selected" in English) are actually set? I've trawled
> through messages.xml, structural.xsl, and a bunch of Java and I just
> can't find them.
>
> I'm sure I'll feel stupid when I'm told where to look...
>
> Dorothea
>
> --
> Dorothea Salo                ds...@library.wisc.edu
> Digital Repository Librarian      AIM: mindsatuw
> University of Wisconsin
> Rm 218, Memorial Library
> (608) 262-5493
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



--
Dorothea Salo                ds...@library.wisc.edu
Digital Repository Librarian      AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to