First off, I can't get DOMXML to work. The lines $doc = xmldoc($this->xml); // (line 26) $root = $doc->root(); // (line 27)
raise a parse error: "Parse error: parse error in d:\...\class.xmltemplate.php on line 27" I'm running PHP 4.1.0 as an Apache module with Apache 1.3.14 on Win98 (but I was experiencing the same problem with 4.0.6). All the required dlls (libxml2.dll, iconv-1.3.dll) have been copied to the system directory, and phpinfo() tells me that DOMXML is enabled (with libxml 2.4.1). I also happen to have a problem with the new xslt extension: the lines $xh = xslt_create(); $head = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, array('_xml' => $this->xml, '_xsl' => $this->xsl), array('$contentpath' => $this->content->href, '$mode' => 'gethead')); make Apache crash. Here are the details: -- APACHE ha provocato un errore di pagina non valida nel modulo PHP_XSLT.DLL in 015f:01692140. Registri: EAX=00000000 CS=015f EIP=01692140 EFLGS=00010246 EBX=00000007 SS=0167 ESP=025cf338 EBP=05d040f0 ECX=ffffffff DS=0167 ESI=0612bba0 FS=4e57 EDX=00000000 ES=0167 EDI=00000000 GS=0000 Byte all'indirizzo CS:EIP: f2 ae f7 d1 49 51 52 89 4e 04 ff 15 44 50 69 01 Immagine dello stack: 00000001 06131ab4 009230ed 0625f9c0 0612bba0 00000000 00000001 05d040f0 00000000 06124d00 05d040f0 025cfc90 0612f468 0612f0c0 0612f3a0 0612eff8 -- The same call made from the command line (with sabcmd) works fine. The leading $s in the parameter names are not typos: Sablotron 0.71 (at least the command line version) seems to require them. Thanks, Luca -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]