Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
| From: | Lukasz Felsztukier | Date: | Mon, 13 Mar 2000 05:41:28 +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-12013@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: Colin Putney <cputney@whistler.net>
To: Lukasz Felsztukier <L.Felsztukier@digitalone.pl>
Cc: <php4beta@lists.php.net>
Sent: Monday, March 13, 2000 6:37 AM
Subject: Re: [PHP4BETA] Can PHP do XML + XSL = HTML stuff ?
> > out nicely: 1) XML file:
> > <some_tag>some_data_in_it</some_tag>
> > <stuff_from_database></stuff_from_database> (notice it's empty)
> > 2) some XSL file defining how the XML data are going to look like
> > 3) I grab data off the database
> > 4) I put'em into the previously left-empty tag, <stuff_from_database>
> > 5) I do the transformation using parser
> > 6) I get HTML, do some more magic on it
> > 7) I finally display this to client
>
> That sounds perfectly reasonable to me. I theory, you could use Xalan
> from the Apache XML project to do your stylesheet transformations.
> You'd have to use Mr. Ruby's Java module to get at the Xalan classes,
> and that too is theoretically possible. Getting it to actually work in
> practice is the catch.
>
> Sounds like a really neat project... have fun! :)
Thanks - I'm pretty sure I will :-)
Cheers,
Lukasz