On Thu, 12 Apr 2001, Jochen Rehwinkel wrote:

> Hi,
> I'm new to this list and im trying to run php with expat and sablot on linux
> 2.2.14 SuSE6.4., apache 1.3.19, php 4.0.4, expat 1.95.1, sablot 0.51
>
> php runs, expat runs, sablot :(
> using this script:
>
>  1 <?php
>  2                              // XSLT Prozessor erzeugen
>  3                              $xslt_processor = xslt_create();
>  4
>  5                             // Transformierung durchführen
>  6                            $result = xslt_run($xslt_processor,'artikel.xsl', 
>'artikel.xml');
>  7                             // überprüfen, ob ein Fehler aufgetreten ist
>  8                             if(!$result) echo xslt_error($xslt_processor);
>  9
>  10                            // Ergebnis der Transformation ausgeben
>  11                            print xslt_fetch_result($xslt_processor);
>  12
>  13                             // Vom XSLT Prozessor belegten Speicher
>  14                            xslt_free($xslt_processor);
>                      ?>

Sablot is running, all that the error means is that there is something
wrong with your XSLT or XML.  Use the xslt_set_error_handler() function
for more information...

-Sterling


Reply via email to