in reply to Model-View-Controller: Template Toolkit vs. XSLT

From my short encounters with templating systems, I offer you those three terse reviews:

If my reviews are too terse for your taste, or you crave other opinions, consider Super Search, which has many discussions of templating systems on this site. Personally, I haven't found a single templating system that suits all my needs, so I switch between HTML::Template, Petal and Template::Toolkit.

  • Comment on Re: Model-View-Controller: Template Toolkit vs. XSLT

Replies are listed 'Best First'.
Re^2: Model-View-Controller: Template Toolkit vs. XSLT
by dug (Chaplain) on Oct 15, 2004 at 14:11 UTC
    Just a nit:
    XSLT sucks even more. It has all the features ... without being able to output non-XML.
    It's easy (well, easy in XSLT standards {grin}) to output non-XML. Take, for instance, this stylesheet.

    -- Douglas Hunter

      Not if you want/need control over the whitespace. And if you want to output XML-like, but not XML-compliant structures, like, say, Apache config files, the whole thing becomes even uglier.

        It may become uglier, but that is different than saying it's not possible. I dislike XSLT. I think that it is clunky and overly verbose, and my brain doesn't grok it quickly. But that doesn't mean that I can't use it to output non-XML, control whitespace or output XML-like but not XML-compliant structures. I'm just drawing a distinction between a PITA and not possible {grin}.

        -- Douglas Hunter