Hi Tom!


Tom Morris wrote:
On Thu, Jan 22, 2009 at 2:57 PM, Anthony Rogers <[email protected]> wrote:
  
Did somebody say "template language"?  WooHoo!  :)

I'm crazy about XSLT.
    

I think XSLT is crazy too, 

Wait…are you saying “crazy” in a good way?  That's what I meant—that I love XSLT, not that I think it's “crazy” in the bad sense…

but it's not a template language.  

It's not?!  Perhaps there's a formal definition of a template language that I'm not aware of. 

But all the work I've done in XSL is a bunch of templates.  Templates that define “when I encounter this, then output this” are at the heart of XSL. 

(Note that I'm now using “XSL” instead of “XSLT” for clarity.  Technically XSL is the language, and the term I should have been using all along.  I have used “XSLT” loosely in my previous message because I picked up the bad habit from others. :)

If we were to go for a template language (which I doubt in this case), we'd
probably choose one which was easy to use.

I agree that some XSL can be horribly complex, but for our purposes I think it would be perfectly easy to use.  If you doubt me, let me send you some example code with skeletal templates, and I'd bet that even someone who has never seen XSL before in their life could probably read and understand most of it in a few minutes. 

Yes, I really mean it.  :)

—Z

Reply via email to