Hi all. 

My PHP is compiled with these options: 

./configure --with-mysql=/usr --with-gettext 
--with-apxs2=/usr/local/apache2/bin/apxs  --prefix=/usr/local/php5 
--enable-cli --with-xml --enable-xslt --with-xslt-sablot 

It compiled just fine ! Not a single complaint about any library ! 

I have just written this little script to try out XML and XSLT: 

<?php 
   $xsltproc = xslt_create(); 
   $xslt_result = xslt_process( 
       $xsltproc, 
       '/home/leonel/public_html/input.xml', 
       '/home/leonel/public_html/input.xsl'); 

   xslt_free($xsltproc); 

   echo $xslt_result; 
?> 

However, PHP does not seem to accept the functions: 

Fatal error: Call to undefined function xslt_create() in 
/home/leonel/public_html/testeXLST.php on line 2 

I am using PHP5.0.0RC2. 

Is everything all right ? 

Thanks 
Leonel 

_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams? 
Clique aqui: http://www.igmailseguro.ig.com.br


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to