RE: [PHP-INST] XSLTransformation via Sablotron

From: Date: Tue, 02 Apr 2002 08:18:53 +0000
Subject: RE: [PHP-INST] XSLTransformation via Sablotron
References: 1  Groups: php.install php.windows 
Request: Send a blank email to php-install+get-6532@lists.php.net to get a copy of this message
-----Original Message----- From: Jan Walter [mailto:john@lerach.cz] Sent: Monday, April 01, 2002 9:20 PM To: php-windows@lists.php.net; php-install@lists.php.net Subject: [PHP-INST] XSLTransformation via Sablotron 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 ================================= -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#6532) next »