Processor
in package
VuFind XSLT wrapper
Tags
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