VuFind API Documentation

Processor
in package

VuFind XSLT wrapper

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

process()  : string
Perform an XSLT transformation and return the results.
findXslt()  : string
Locate an XSLT file and return its full path.

Methods

process()

Perform an XSLT transformation and return the results.

public static process(string $xslt, string $xml[, string $params = [] ]) : string
Parameters
$xslt : string

Name of stylesheet (in application/xsl directory)

$xml : string

XML to transform with stylesheet

$params : string = []

Associative array of XSLT parameters

Return values
string

Transformed XML

findXslt()

Locate an XSLT file and return its full path.

protected static findXslt(string $xslt) : string
Parameters
$xslt : string

Filename

Tags
throws
Exception
Return values
string

Search results