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

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
  • Comment on Re^2: Model-View-Controller: Template Toolkit vs. XSLT

Replies are listed 'Best First'.
Re^3: Model-View-Controller: Template Toolkit vs. XSLT
by Corion (Patriarch) on Oct 15, 2004 at 14:15 UTC

    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