Subversion Repositories ALCASAR

Rev

Rev 2775 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2775 Rev 3037
Line 47... Line 47...
47
        $domxml->loadXML($xmlfile);
47
        $domxml->loadXML($xmlfile);
48
        $domxsl = new DOMDocument();
48
        $domxsl = new DOMDocument();
49
        $domxsl->load($xslfile);
49
        $domxsl->load($xslfile);
50
        $xsltproc = new XSLTProcessor;
50
        $xsltproc = new XSLTProcessor;
51
        $xsltproc->importStyleSheet($domxsl);
51
        $xsltproc->importStyleSheet($domxsl);
52
        header("Cache-Control: no-cache, must-revalidate\n");
52
        header('Cache-Control: no-cache, must-revalidate');
53
        echo $xsltproc->transformToXML($domxml);
53
        echo $xsltproc->transformToXML($domxml);
54
    }
54
    }
55
}
55
}