This class provides access to saxon XSLT2 processor with java php bridge

author bruno
package tools

 Methods

create a SaxonCall instance, set up java required jar for saxon and eventually xsl and xml files

__construct(string $xsl, string $xml) 

Parameters

$xsl

string

the uri of the xsl file

$xml

string

the uri of the xml file

Setter for $xml

setXml(string $xml) 

Parameters

$xml

string

the uri of the xml file

Setter for $xsl

setXsl(string $xsl) 

Parameters

$xsl

string

the uri of the xsl file

transform $xml with $xsl stylesheet

transform() : string

Returns

stringthe resulting string

 Properties

 

$xml : string
 

$xsl : string