Can anyone shed some insight to how I can fix this problem...
I have 6 files...
events.xml - an ordinary XML document.
events.xsl - an ordinary XSL stylesheet
header.php - a PHP file that contains the first half of the website design
footer.php - a PHP file that contains the last half of the website design.
upcoming.phtml - the PHP file that the end user will see.
My question is this, is there an alternative to Sablotron, the built in toolkit in PHP4? My web host doesnt have PHP compiled with the --with-sablot
argument. I have requested this, but I havent heard anything back yet, and I am searching for an alternative.
I need to parse the XML document, apply the XSL stylesheet, then insert it into the phtml file like so...
// XML data with XSL stylesheet applied to it.
Any suggestions? I originally tried a require("events.xml");
with the XSL stylesheet applied within the XML document, but I forgot that inside the PHTML file, the server won't just normally parse the XML document.
I bet there is an easy answer, and I am just missing it, but any help is appreciated.