> That is generally the best option, however it's not your only option.
> One at least one theme we have done we've split out the document
> template so that it checks the page your on and based upon that may do
> something special.
I've done this. I set up a "currentpage" variable as follows, to save effort:
<xsl:variable name="currentpage">
<xsl:value-of select="$context-path"/>
<xsl:text>/</xsl:text>
<xsl:value-of
select="/dri:document/dri:meta/dri:pageMeta/dri:[EMAIL PROTECTED]'request'
and @qualifier='URI']"/>
</xsl:variable>
If you want just the last chunk of URL, then what you need is the
<xsl:value-of> above. For anything that you want to depend on the
identity of the page, then:
<xsl:if test="$currentpage=[whatever]"><xsl:doSomething/></xsl:if>
One small problem: any page that has parameters won't match. Scott
will know better than I do whether Manakin still has parameterized
URLs.
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech