Re: sablotron XMl XSLT
| From: | Michael Kimsal | Date: | Tue, 09 Apr 2002 18:41:03 +0000 |
| Subject: | Re: sablotron XMl XSLT | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-92279@lists.php.net to get a copy of this message | ||
Matthew Luchak wrote:
PHP 4.1.2 SunOS web-unix1 5.7 apache_1.3.22 I'm trying to parse XML/XSL on a shared box and I'm using : $xslthandler = xslt_create() or die("Can't create XSLT handle!"); to test for sablotron. Unfortunately I just get a "Call to undefined function" error which I guess means no - there's no sablotron installed - but I was wondering if there is another way to test for Sablotron? I need a little quicker turnaround time then passing from voicemail to voicemail at my ISP ;) thanks,You could use function_exists() to test if xslt_create() is a defined function. If not, then error out. If so, carry on. It's not limited to sablotron checking - check for GD, PDF, etc. Michael Kimsal http://www.phphelpdesk.com PHP support when you need it 734-480-9961