public function run()
    {
        CommonFunctions::checkForExtensions(array('xsl'));
        $xmlfile = $this->getXMLString();
        $xslfile = "phpsysinfo.xslt";
        $domxml = new DOMDocument();
        $domxml->loadXML($xmlfile);
        $domxsl = new DOMDocument();
        $domxsl->load($xslfile);
        $xsltproc = new XSLTProcessor;
        $xsltproc->importStyleSheet($domxsl);
        echo $xsltproc->transformToXML($domxml);
    }
public function run()
    {
        CommonFunctions::checkForExtensions(array('xsl'));
        $xmlfile = $this->getXMLString();
        $xslfile = "phpsysinfo.xslt";
        $domxml = new DOMDocument();
        $domxml->loadXML($xmlfile);
        $domxsl = new DOMDocument();
        $domxsl->load($xslfile);
        $xsltproc = new XSLTProcessor;
        $xsltproc->importStyleSheet($domxsl);
        echo $xsltproc->transformToXML($domxml);
    }
public function run ( ) { CommonFunctions :: checkForExtensions ( array ( 'xsl' ) ) ; $ xmlfile = $ this -> getXMLString ( ) ; $ xslfile = "phpsysinfo.xslt" ; $ domxml = new DOMDocument ( ) ; $ domxml -> loadXML ( $ xmlfile ) ; $ domxsl = new DOMDocument ( ) ; $ domxsl -> load ( $ xslfile ) ; $ xsltproc = new XSLTProcessor ; $ xsltproc -> importStyleSheet ( $ domxsl ) ; echo $ xsltproc -> transformToXML ( $ domxml ) ; }
generate the static page

@return void
generate the static page