Our XML is valid, but the below XSL is bombing.
(thanks for the help!)
Here is the file:
<?php
//- Header( "Content-type: text/xml");
include "../classes/site_functions.php";
include "./include/config.php";
$connection = getMysqlDBConnection($host, $user, $passwd, $db_name);
?>
<?php
$path2XSL ="/home/www/cms_xml/feelrite/xsl/";
if (isset($ADMIN)){
$catalogXSL = "catalogADMIN.xsl";
} else {
$catalogXSL = "category.xsl";
}
include $class_path . "/catalog_include.php";
if ($category != "") {
$catalog = new catalog($category, $connection);
$catalogxml = $catalog->pullXML('0', $connection);
$finalXML .= '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
$finalXML .= "<ROOT>\n";
$finalXML .= $catalogxml;
$finalXML .= "</ROOT>\n";
if ($finalXML != "") {
xslt_output_begintransform($path2XSL . $catalogXSL);
print $finalXML;
xslt_output_endtransform();
}
}
?>