16        if ($proc === 
false) $proc = 
new XSLTProcessor();
 
   17        $this->xsltProcessor = $proc;
 
   25        if (is_string($xsl)) {
 
   27            $xsl = 
new DOMDocument();
 
   28            $xsl->load($xsl_file);
 
   30        return $this->xsltProcessor->importStylesheet($xsl);
 
   41        if (is_string(
$xml)) {
 
   42            $dom = 
new DOMDocument();
 
   47        $out = $this->xsltProcessor->transformToXML($dom);
 
   51        $out = str_replace(
'/>', 
' />', 
$out); 
 
   52        $out = str_replace(
' xmlns=""', 
'', 
$out); 
 
   54        if (class_exists(
'Tidy')) {
 
   58                'output-xhtml'  => 
true,
 
   64            $out = (string) $tidy;
 
   77            $this->xsltProcessor->setParameter(
'', 
$name, $value);
 
   86        call_user_func_array(array($this->xsltProcessor, 
$name), $arguments);
 
if(!isset( $_REQUEST[ 'ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options
An exception for terminatinating execution or to throw for unit testing.
Decorator/extender XSLT processor specifically for HTML documents.
__call($name, $arguments)
Forward any other calls to the XSLT processor.
setParameters($options)
Bulk sets parameters for the XSL stylesheet.
transformToHTML($xml)
Transforms an XML file into compatible XHTML based on the stylesheet.
$xsltProcessor
Instance of XSLTProcessor.