ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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, $a_no_warnings=false)
 xslt_free (&$proc)
 xslt_error (&$proc)

Function Documentation

xslt_process ( $proc,
  $xml_var,
  $xslt_var,
  $dummy,
  $args,
  $params,
  $a_no_warnings = false 
)

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

References $result.

Referenced by ilObjDlBookGUI\__applyCitationText(), ilPCTableGUI\_renderTable(), ilPageObjectGUI\displayMedia(), ilObjSCORM2004LearningModule\exportHTML(), ilCOPageHTMLExport\exportHTMLMOB(), ilObjSCORM2004LearningModule\exportHTMLScoObjects(), ilObjMediaObject\exportMediaFullscreen(), ilSCORM2004Asset\exportScorm(), ilObjSCORM2004LearningModule\exportScorm(), ilPageLayout\generatePreview(), ilPageObject\getFO(), ilCertificate\getFormFieldsFromFO(), ilImageMapEditorGUI\getImageMapOutput(), ilLMPresentationGUI\ilMedia(), ilGlossaryPresentationGUI\media(), ilObjSurvey\processPrintoutput2FO(), ilObjTest\processPrintoutput2FO(), ilCertificate\processXHTML2FO(), ilObjDlBookGUI\showAbstract(), ilObjDlBookGUI\showCitation(), ilObjMediaPoolGUI\showMedia(), ilPageObjectGUI\showMediaFullscreen(), ilPageObjectGUI\showPage(), and ilXML2FO\transform().

{
$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);
}
}
// supress warnings all the time. (some lib xslt bring warnings due to & in links)
//if ($a_no_warnings)
//{
$result = @$xslt->transformToXML(DomDocument::loadXML($args[substr($xml_var, 4)]));
//}
//else
//{
// $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: