Wrox Home  
Search P2P Archive for: Go

  Return to Index  

going_live thread: XSLT with PHP


Message #1 by "Michael P. Mehl" <abo@s...> on Mon, 12 Feb 2001 18:35:45 +0100
Hi everybody in the going-live list,

I'm currently getting in touch with XSL transformations using PHP4 / Zend. I
have developed a set of script, that generate data using XML data. To
convert it to a nice HTML page, I want to XSL processing.

I already tested the Sablotron extension for PHP. It's great. I can do every
transformation I need. But there's one problem: I cannot use or install the
sablotron extension on every server I want to use the set PHP scripts I have
developed.

Because of that I'm just looking for kind of XSL processor written in
(plain) PHP without the use of "unnormal" extensions. Does anybody know
about something like that?

I also though of using Perl scripts and the XML::XSL library being available
for Perl. I could call a script, which will do the transformation, by

  exec("perl script.pl");

but unfortunately I have to do transformations very often and do not how
much time such a call to a Perl requires. Has anybody experiences about
that?

Or does anybody else has any idea how to use XSL in PHP without sablotron?

Greetings and thanks a lot!

  Michael P. Mehl


--
Michael P. Mehl, Tuebingen, Germany


---

Your message: (INMAIL-ID:37181)

X-Mailer: P2P web interface
Date: Mon, 12 Feb 2001 17:11:31
From: "Michael P. Mehl" <abo@s...>
To: pro_php@p...
Subject: XSLT using PHP


Hi,

I'm currently getting in touch with XSL transformations using PHP4 / Zend.
I have developed a set of script, that generate data using XML data. To
convert it to a nice HTML page, I want to XSL processing.

I already tested the Sablotron extension for PHP. It's great. I can do
every transformation I need. But there's one problem: I cannot use or
install the sablotron extension on every server I want to use the set PHP
scripts I have developed.

Because of that I'm just looking for kind of XSL processor written in
(plain) PHP without the use of "unnormal" extensions. Does anybody know
about something like that?

I also though of using Perl scripts and the XML::XSL library being
available for Perl. I could call a script, which will do the
transformation, by

  exec("perl script.pl");

but unfortunately I have to do transformations very often and do not how
much time such a call to a Perl requires. Has anybody experiences about
that?

Or does anybody else has any idea how to use XSL in PHP without sablotron?

Greetings and thanks a lot!

  Michael P. Mehl


--
Michael P. Mehl, Tuebingen, Germany


  Return to Index