Re: XSLT trouble



RTFM. The XSL extension (http://www.php.net/manual/en/ref.xsl.php) is NOT
the same as the XSLT extension (http://www.php.net/manual/en/ref.xslt.php).
The xslt_create() function is not part of the XSL extension.

Take a look at http://www.tonymarston.co.uk/php-mysql/xsl.html to see how to
perform XSL transformations with the XSL extension in PHP 5.

--
Tony Marston

http://www.tonymarston.net



"Gordan" <gordanMAKNI@xxxxxxxxx> wrote in message
news:d9v710$ckg$1@xxxxxxxxxxxxxxxx
> I'm running Apache/1.3.33 (Win32) PHP/5.0.4 on WinXP
> in my php.ini I uncommented the extension=php_xsl.dll line. When running
> phpinfo() I have the following section on XSL
> xsl
> XSL enabled
> libxslt Version 1.1.7
> libxslt compiled against libxml Version 2.6.11
> EXSLT enabled
> libexslt Version 0.8.5
>
>
> PHP starts normally and isn't complaining about any missing DLLs but when
> I hit
> xslt_create() it's an undefined function :-(
> PHP manual doesn't say anything about XSLT on PHP5 but clearly it changed
> since
> PHP4
>
> all help is appreciated
> gordan
>
>
>


.



Relevant Pages

  • Re: Disabling direct HTTP access to certain folders on server
    ... in your case you only have to map the .xsl extension in iis to aspnet_isapi and put a HttpNotFoundHandler in place... ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: What is/is not considered to be good OO programming
    ... > It's not like PHP at all. ... I don't have a problem with XSL. ... I have written a single standard function which outputs this array to ... I am not saying that it is easier to write reusable components in XSL, ...
    (comp.lang.php)
  • Re: XML over CSS
    ... I am trying to figure out if I should focus on XML and XSL ... All websites are output in HTML. ... You can generate your HTML directly from within a PHP script, ...
    (comp.lang.php)
  • Re: Php5 - xsl extension not working
    ... I have enabled the xsl extension - php_xsl.dll - in php.ini and indeed, when I look at phpinfo I see all the needed libraries are enabled. ... In most projects, I'd say the conversion database -> XML -> HTML would be an unnecessary step, and database -> HTML is just a lot less overhead. ... Where I think it's taking me now, as I explore my possibilities with it, is to show me how to modularize my Php -> html scripts better (like the xsl templates). ...
    (comp.lang.php)
  • Re: [PHP] About XSL Transformation
    ... Nathan Nobbe wrote: ... working w/ 2 programming languages, ... php and xsl, you will need to determine how much logic is implemented in each language. ...
    (php.general)