Re: [PHP Template] Re: [PHP3] Template Discussion

[email protected] ("Tobias Ratschiller") Thu, 23 Mar 2000 18:16:31 +0100
Newsgroups php.template
Message-ID <025901bf94eb$890cb500$64d0f2c2@tobiasneu>
> And we already have a library that does this in PHP4, which is
> the severely underdocumented and highly experimental DomXML
> extension by U. Steinmann. Inflammatory personal opinion:
> In my not so humble opinion that should become the PHP template
> system and the current template approach should be abandoned,
> because it does not contain anything that can't be done with
> if() and here documents. But I suggested thing like that back
> in the days of PHP3 RC2, and got toasted for that. 1/2 :-)

I don't see XML (and XSL/DSSSL/whatever) conflicting with a template based
approach to web design. Your designers won't have any desire to learn XSL,
and if you start adding style information to a XML structure in PHP (be it
with LibXML or Expat), you've lost your separation again.

LibXML is great anyway, of course, and a XSL processor inside PHP would be
greatly appreciated. :)

-Tobias