Re: PHP XSLT extension

From: Date: Sun, 25 Jun 2000 19:16:52 +0000
Subject: Re: PHP XSLT extension
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-22295@lists.php.net to get a copy of this message
On Sun, 25 Jun 2000 rubys@us.ibm.com wrote: > > > Andi Gutmans wrote: > >> I am not sure I quite understand this. Do you mean a mechanism for > >> automatically > >> choosing a stylesheet according to the requesting user agent? > > > >No I mean the PHP script could decide what stylesheet the PHP output > >support should use. It just needs to decide before it starts outputting > >the data which you want a stylesheet applied to. > > I originally had considered this and rejected it. For the wrong reason. > > In Cocoon, one defines a pattern of URLs which are to be mapped to a > pipeline consisting of a generator, any number of filters, and a > serializer. Most importantly, one could change the style of an entire site > by changing a single line in a sitemap. > > In PHP, this same effect could be achieved via a require ('header.inc'). > In cocoon, there is considerable debate on how to represent logic in the > sitemap - in PHP this would not be an issue. > > I'm sold. Sold as you think it is a good idea; or sold you're going to do it? :) Andi > > - Sam Ruby > > P.S. I can't seem to get to the Sablotron web site at the moment... > > > >

« previous php.dev (#22295) next »