Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adding dri2xhtml info

...

Table of Contents
minLevel2
outlinetrue
stylenone
Info
titleTwo options for base templates to use

There are two main base templates you can use when creating an XMLUI Theme:

  • dri2xhtml - Used in the generation of default Reference, Classic and Kubrick themes
  • dri2xhtml-alt - used in the generation of default Mirage theme
    You only should use one of these two templates, based on which seems easier to you.

dri2xhtml

The dri2xhtml base template is the original XMLUI template for creating XMLUI themes. It attempts to provide generic XSLT templates which are then applied across the entire DSpace site.

The dri2xhtml base template consists of five main XSLTs:

  • dri2xhtml/structural.xsl - this XSLT is in charge of creating the main layout/page structure of every page within DSpace
  • dri2xhtml/General-Handler.xsl - this XSLT is in charge of displaying File download links throughout DSpace (it matches the METS <fileSec> element).
  • dri2xhtml/DIM-Handler.xsl - this XSLT is in charge of displaying all DIM (DSpace Intermediate Metadata) metadata throughout DSpace (it matches any DIM metadata in the METS). By default, this is the template used to display all metadata.
  • dri2xhtml/MODS-Handler.xsl - this XSLT is in charge of displaying all MODS metadata throughout DSpace (it matches any MODS metadata in the METS). By default, this template is not used, as MODS metadata is not generated by XMLUI by default.
  • dri2xhtml/QDC-Handler.xsl - this XSLT is in charge of displaying all Qualified Dublin Core (QDC) metadata throughout DSpace (it matches any QDC metadata in the METS). By default, this template is not used, as QDC metadata is not generated by XMLUI by default.

dri2xhtml-alt

See See committed source for dri2xhtml-alt here: http://scm.dspace.org/svn/repo/dspace/trunk/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/

...