API:EPrints/Citation/XSL

From EPrints Documentation
Revision as of 17:24, 16 March 2023 by Pod2wiki (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki


NAME

EPrints::Citation::XSL - Loading and rendering of XSL based citation styles.

User Comments


DESCRIPTION

Loads XSL citation style files and renders citations for a particular type of data object.

This class inherits from EPrints::Citation.

User Comments


METHODS

User Comments


load_source

$citation->load_source

Load XSL citation source from file.

Returns 1 if citation source was successfully loaded.

User Comments


render

$frag = $citation->render( $dataobj, %opts )

Renders a EPrints::DataObj using this citation style.

Returns a XML document fragment of the citation rendering.

User Comments


error

$citation->error( $type, $message )

Add $message of $type to array of messages for this citation.

User Comments


SEE ALSO

EPrints::Citation

User Comments


COPYRIGHT

© Copyright 2000-2024 University of Southampton.

EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

LICENSE

This file is part of EPrints 3.4 http://www.eprints.org/.

EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.

EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.

User Comments