36 $this->myProc =&
new XSLTProcessor;
40 function xslt_process(&$proc, $xml_var, $xslt_var, $dummy, $args, $params,
41 $a_no_warnings =
false)
43 $xslt = $proc->myProc;
45 $xslt->importStyleSheet(DomDocument::loadXML($args[substr($xslt_var, 4)]));
46 if (is_array($params))
48 foreach ($params as $key => $value)
50 $xslt->setParameter(
"", $key, $value);
57 $result = @$xslt->transformToXML(DomDocument::loadXML($args[substr($xml_var, 4)]));