Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
| From: | Manuel Lemos | Date: | Mon, 13 Mar 2000 05:38:25 +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-12021@lists.php.net to get a copy of this message | ||
Hello Paul,
On 13-Mar-00 03:49:06, you wrote:
>>>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.
>One reason would be that you're storing data *as XML* in the database,
>for example, because it doesn't fit neatly into rows and columns and
>it makes more sense to represent it as an XML document.
That's not what I got from what Lukasz mentioned. I understood that he
wants to grab data from the database to insert into some sort of XML
template and have it processed with XSL to output to HTML.
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
--