XSLT Export Plugin

Brody, Tim (2008) XSLT Export Plugin.

[img] Other (Tarball)
Available under License Creative Commons GNU GPL (Software).

2kB (64 downloads)
Item Type: Plug-in
Plugin-type: Export Plugin
EPrints Version: EPrints 3
License: GPL
EPrints Version: EPrints 3
Date: 5 February 2008
Creators Name: Brody, Tim
Institution: University of Southampton
Date Deposited: 06 Feb 2008 11:34
Last Modified: 14 May 2010 12:18
Date Deposited: 06 Feb 2008 11:34

Abstract

This Export plugin allows XSLT (stylesheet transforms) to be applied to EPrints XML and then used as an Export Plugin.

Requirements

libxslt (or other command-line XSLT processor)

Installation

Unpack the tarball into your eprints root. Add the paths to your XSLT processor to perl_lib/EPrints/SystemSettings.pm. The plugin will look for an executable option called 'xsltproc' and an invocation option called 'xsltproc' (which is the name of the libxslt processor, but you could configure something different). Any files ending in '.xslt' in lib/xslt/export/ will be treated as an export plugin and instantiated at run time. The XSLT processor is called with the output from the XML export plugin (either as a list or as a single item). A simple HTML transform is included as an example.

Repository Staff Only: edit this item