I am new to php and struggling. My task at hand is to use php to join and xml document with a style sheet (xsl). I want to use ph so I can link different style sheets tot he xml data depending on where it is used on the site.
I have been trying to get the code below to link these two file together.
<?php
$xmlstring=join(' ',file('employee.xml'));
$xslstring=join(' ',file('test.xsl'));
xslt_process($xslstring, $xmlstring, $result);
echo "$result";
?>
It seems when I call this file into my bowser nothing happens. I get no errors, just a blank page.
I have a feeling I am in over my head and would appreciate any help. Thanks.
Bryan