Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Model-View-Controller: Template Toolkit vs. XSLT

by dug (Chaplain)
on Oct 15, 2004 at 14:11 UTC ( [id://399510]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://399510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found