Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?

From: Date: Mon, 13 Mar 2000 12:44:28 +0000
Subject: Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12045@lists.php.net to get a copy of this message
On Mon, 13 Mar 2000, Jirka Kosek wrote: > On Mon, 13 Mar 2000, Andi Gutmans wrote: > > Hi Andi, > > > Any reason not to implement an XSL module for PHP? > > How difficult is it? It might even be feasible to implement it as part of > > PEAR in PHP using the XML support we have right now (or domxml?) > > XSL module (or more precisely XSLT processor) is quite complicated and > power compsuming stuff of software, so it would not be good idea to > implement it directly in PHP. There are existing XSLT processors which > are in Java or C++. The easiest way is probably to write only > interface functions to existing XSLT processor. In C++ is written > Xalan, which is part of XML Apache Project (xml.apache.org). Well we should probably consider wrapping something like Xalan in PHP. Andi > > > BTW, I thought the web browser is supposed to know how to apply XSL style > > sheets to XML. > > Only IE5.0 knows this, and it support only draft version of XSLT (but it > is possible to update it by preview version of new MS XML library). > Mozilla can be compiled to support XSL. Other browsers, AFAIK, does not > directly support XSLT. > > If you transform XML document on server, you can use different stylesheets > for different clients -- one for HTML browser, one for mobile phones with > WAP and so on. > > Jirka > > > ----------------------------------------------------------------- > Jirka Kosek > e-mail: jirka@kosek.cz > http://www.kosek.cz > > >

« previous php.version4 (#12045) next »