XSLT trouble

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gordan

    XSLT trouble

    I'm running Apache/1.3.33 (Win32) PHP/5.0.4 on WinXP
    in my php.ini I uncommented the extension=php_x sl.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



  • Tony Marston

    #2
    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

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL




    "Gordan" <gordanMAKNI@to rkul.hr> wrote in message
    news:d9v710$ckg $1@news1.xnet.h r...[color=blue]
    > I'm running Apache/1.3.33 (Win32) PHP/5.0.4 on WinXP
    > in my php.ini I uncommented the extension=php_x sl.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
    >
    >
    >[/color]


    Comment

    Working...