Hi all!  I'm trying to add some static pages to my Dspace installation.
 I'm following this tutorial:
https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Addingstaticpages

I'm trying the "Cocoon-based method" but I'm stuck at the part where I have
to

"edit
[dspace-src]/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/Mirage.xsl"

First I found one of the Mirage.xsl files (there are like seven) at
dspace-3.1-src-release/dspace/modules/xmlui/target/war/work/org.dspace/dspace-xmlui/themes/Mirage/Mirage.xsl.
 I guess it is the one to modify.

The tutorial says "we override the <dri:body>".  How do I do this?  Should
I just copy/paste the code inside the <xsl:stylesheet> tags? Or after them?
And more important, what does the [ e t c . . . ] means in the example, is
there more code that I should insert there?

My Mirage.xsl looks like this:

<xsl:stylesheet xmlns:i18n="http://apache.org/cocoon/i18n/2.1";
xmlns:dri="http://di.tamu.edu/DRI/1.0/";
xmlns:mets="http://www.loc.gov/METS/";
xmlns:xlink="http://www.w3.org/TR/xlink/";
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
xmlns:dim="http://www.dspace.org/xmlns/dspace/dim";
xmlns:xhtml="http://www.w3.org/1999/xhtml";
xmlns:mods="http://www.loc.gov/mods/v3";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xmlns="http://www.w3.org/1999/xhtml";
exclude-result-prefixes="i18n dri mets xlink xsl dim xhtml mods dc">

    <xsl:import href="../dri2xhtml-alt/dri2xhtml.xsl"/>
    <xsl:import href="lib/xsl/core/global-variables.xsl"/>
    <xsl:import href="lib/xsl/core/page-structure.xsl"/>
    <xsl:import href="lib/xsl/core/navigation.xsl"/>
    <xsl:import href="lib/xsl/core/elements.xsl"/>
    <xsl:import href="lib/xsl/core/forms.xsl"/>
    <xsl:import href="lib/xsl/core/attribute-handlers.xsl"/>
    <xsl:import href="lib/xsl/core/utils.xsl"/>
    <xsl:import href="lib/xsl/aspect/general/choice-authority-control.xsl"/>
    <xsl:import href="lib/xsl/aspect/administrative/administrative.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/item-list.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/item-view.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/community-list.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/collection-list.xsl"/>
    <xsl:output indent="yes"/>
</xsl:stylesheet>

Thanks for your help.

Guillermo Murillo
-- 
La pureza del alma no se pierde sin consentimiento
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to