Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
| From: | Lukasz Felsztukier | Date: | Mon, 13 Mar 2000 07:11:26 +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-12028@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: Manuel Lemos <mlemos@acm.org>
To: Lukasz Felsztukier <L.Felsztukier@digitalone.pl>
Cc: <php4beta@lists.php.net>
Sent: Monday, March 13, 2000 6:35 AM
Subject: Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
> Maybe PHP feature XSL support with some C library and the parsing /
> transformation overhead will be minimized, but right now I don't see any
> good reason for not outputing your database information formatted within
> HTML instead of going all the way over XML/XSL->HTML.
It's not about that - it's about separating content from presentation. Imagine
having a single XSL stylesheet applying to your whole site...
> If you are just trying this as academic project or on some server where the
> load is not important, it seems ok. I am not preaching you, I am just
> trying to tell you that the overhead and the CPU load of run-time parsing
> is not neglectable.
Sorry for the "preaching" part - I was tired of bouncing from site to site only
to find out I can use Java, Java or Java (and a bit of Perl or Python) and got
angry there wasn't any php-based solution to this. But Andy gave me new hope -
but hey, Manuel - maybe you're up to porting some perl or c stuff concerning XSL
in PHP? I'd be glad to hear : "YES" :-)
Cheers,
Lukasz