Posted by Jerry Stuckle on 09/06/07 18:01
macca wrote:
> Hi
>
> Im trying to think of a way to dynamically generate a stylsheet using
> php that can be easily updated by a client.
>
> My first thought was to generate the stylesheet as an XML document
> first and then use the XML document to generate the stylesheet, and
> whenever there is an update in the stylesheet it can be saved as an
> XML document and parsed in PHP to generate the new stylesheet.
>
> Does this sound reasonable?
>
It's reasonable. Makes parsing easier.
I'd also consider a database (I like databases :-) ), but it might be
overkill for something like this.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|