Hi,
I am using the XSLTProcessor object. Even though I use importStyleshee t, does my XML still need to specify the xml-stylesheet declaration?
I only ask because currently my code seems to be ignoring the XSLT and churning out plain text, and this is the only thing missing.
Regards,
Rob.
I am using the XSLTProcessor object. Even though I use importStyleshee t, does my XML still need to specify the xml-stylesheet declaration?
Code:
$xsl = new DOMDocument; $xsl->load("myfile.xslt"); $xslt = new XSLTProcessor; $xslt->importStylesheet($xsl);
Regards,
Rob.
Comment