Data Structures | Functions

include/inc.xsl5compliance.php File Reference

Go to the source code of this file.

Data Structures

class  php4XSLTProcessor

Functions

 xslt_create ()
 xslt_process (&$proc, $xml_var, $xslt_var, $dummy, $args, $params)
 xslt_free (&$proc)
 xslt_error (&$proc)

Function Documentation

xslt_create (  ) 
xslt_error ( &$  proc  ) 
xslt_free ( &$  proc  ) 
xslt_process ( &$  proc,
xml_var,
xslt_var,
dummy,
args,
params 
)

Definition at line 40 of file inc.xsl5compliance.php.

References $args, $params, and $result.

Referenced by ilObjDlBookGUI::__applyCitationText(), ilPCTableGUI::edit(), ilObjMediaObjectGUI::editMapArea(), ilObjMediaObjectGUI::editMapAreasObject(), ilPageObject::getFO(), ilLMPresentationGUI::ilMedia(), ilGlossaryPresentationGUI::media(), ilObjDlBookGUI::showAbstract(), ilObjDlBookGUI::showCitation(), ilObjMediaPoolGUI::showMedia(), ilPageObjectGUI::showMediaFullscreen(), and ilPageObjectGUI::showPage().

{
        $xslt = $proc->myProc;
//echo htmlentities($args[substr($xslt_var, 4)]);
        $xslt->importStyleSheet(DomDocument::loadXML($args[substr($xslt_var, 4)]));
        if (is_array($params))
        {
                foreach ($params as $key => $value)
                {
                        $xslt->setParameter("", $key, $value);
                }
        }
        $result = $xslt->transformToXML(DomDocument::loadXML($args[substr($xml_var, 4)]));

//echo "<br><br><b>xslt_process</b>".htmlentities($result);
        return $result;
}

Here is the caller graph for this function: