Using XSLT 2.0 with PHP

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
Rossant
New php-forum User
New php-forum User
Posts: 2
Joined: Tue Feb 20, 2018 12:29 am

Tue Feb 20, 2018 1:05 am

Hi,

I'm a beginner at PHP and I need to use XSLT 2.0 with PHP, after some research I find out that the best way to do this is to use the saxon of Saxonica (http://www.saxonica.com/welcome/welcome.xml), I have follow the documentation which explains how to use it with Windows and at the end of it, it says to "build the extension" (https://www.saxonica.com/saxon-c/index.xml).

Do you know how I can do it ? or a link to a documentation which explains it ?

Thank you in advance! :)

chorn
php-forum Fan User
php-forum Fan User
Posts: 564
Joined: Fri Apr 01, 2016 2:18 am

Tue Feb 20, 2018 1:24 am

it sais
To build the PHP extension yourself please see the Saxon-C-API Visual Studio 2008 project included in the installation (e.g. 'C:\Program Files\Saxonica\SaxonHEC1.1.0\Saxon-C-API').
so what did you get from there?

Rossant
New php-forum User
New php-forum User
Posts: 2
Joined: Tue Feb 20, 2018 12:29 am

Mon Feb 26, 2018 6:07 am

Hi,

Thanks for your answer. There is file with some files in .h and .cpp format and a config.w32 file.
I find a documentation about the compilation on Windows (http://blog.benoitblanchon.fr/build-php ... n-windows/), I followed the instructions but it doesn't seem to work ... After I use the buildconf.bat command, it generate a configure.js file and not a configure.bat.

Is it the right way to compile this king of php extension ?

Sorry if the anwser is obvious ... thank you in advance :)

Post Reply