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

From: Date: Mon, 13 Mar 2000 01:11:44 +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-12006@lists.php.net to get a copy of this message
Hello Lukasz, On 12-Mar-00 23:50:12, you wrote: >> >Think of a simple situation where you want to grab some data from a >> >database and display.. That's when it all makes sense - dynamic XML... >> >> Honestly I don't see what's the sense of taking some data to generate XML >> from it and then generate HTML from the XML data, even less doing that at >> page serve needlessly overloading the server. Why don't you generate HTML >> or if you prefer XHTML (XML compliant HTML) directly? >> >No - you take XML file, XSL stylesheets, grab some data from a database >(updated often - no need to cache, all files are relatively small and there >is few of them - no overloading) and produce HTML. How can I do this ? It's >rather important to me :-) Cheers, Lukasz To do what you want you need a XML/XSL processor. I don't know any in PHP, but PHP 4 will be able to interface with Java classes that can do that. Anyway, I still see little point in transforming data from database into XML to have it transformed into HTML, instead of transforming the data in the database to HTML directly like any PHP database application does. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.version4 (#12006) next »