Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
| From: | Manuel Lemos | Date: | Mon, 13 Mar 2000 00:24:15 +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-12002@lists.php.net to get a copy of this message | ||
Hello Lukasz,
On 12-Mar-00 12:14:18, you wrote:
>> I don't have real experience with XSL, but last time I looked it seemed
>> that you have to go around in circles with expression matching programming
>> that reminds me a lot of sed (that Unix stream editing language that is
>> powerful but really annoying). I don't know if that is what you are
>> looking for but I didn't like the idea.
>I've found Xeles and Xerces (i think thesea are the right names) at
>xml.apache.org . They're both written in Java and can output a HTML file
>based on the XML and XLS input. So the main problem will be how to talk to
>them from under php and grab that output for further processing... Anyone has
>any ideas ?
There is some support for PHP 4 under development to interface with java
packages.
>> Another point is it is really awkward to generate XML dynamically when what
>> you really want is to output HTML. So, why bother to put your server under
>> a heavy load (that is what you can expect from runtime XML processing) to
>> present HTML that you could generate directly?
>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?
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
--