XSLTransformation via Sablotron

From: Date: Tue, 02 Apr 2002 05:19:45 +0000
Subject: XSLTransformation via Sablotron
Groups: php.install php.windows 
Request: Send a blank email to php-install+get-6531@lists.php.net to get a copy of this message
Hello, I've used this sample code as well as the installation described at http://shanx.com/php/xsl/getXsl.htm (using W2K, Apache 1.3.20, PHP 4.1.2.). <?php // Create an XSLT processor $xsltHandle = xslt_create(); // Perform the transformation $out = xslt_process($xsltHandle, getcwd().'test.xml', getcwd().'test.xsl'); // Detect errors if(!$out) die(xslt_error($xsltHandle)); // Destroy the XSLT processor xslt_free($xsltHandle); ?> The result is that Sablotron itself (command line) works fine but this code produces following error "XML parser error 4: not well-formed (invalid token)". I would appreciate any hint. Thanx alot. -- ================================= [NAME] jan walter [ALIAS] john [COMPANY] lerach s.r.o. [GSM] (+420)(777)31 99 31 [SMS] john.sms(at)mujoskar.cz [EMAIL] john(at)lerach.cz [ICQ] 28353428 =================================

« previous php.install (#6531) next »