load(dirname(__FILE__)."/xslt.xml"); if(!$dom) { echo "Error while parsing the document\n"; exit; } $xsl = dirname(__FILE__)."/xslt.xsl"; $xsldom = new domDocument; $xsldom->load($xsl); $proc = new xsltcache; if(!$proc) { echo "Error while making xsltprocessor object\n"; exit; } ?>