I tried using the example code from my previous question. However I get the error:
“DOMDocument was expecting arguments”
I am unable to find the documentation to say what arguments it is expecting for my PHP version, 4.3.9.
I just tried loading the XML string directly in there and I got this error message:
“Cannot instantiate non-existent class: xsltprocessor”
Could someone point me to an XSLT Processing resource that is relevant to PHP 4.3.9? I’m not able to upgrade to 5.
I fixed the problem by upgrading to 5.0.