Re: [TFUI] "if" in XSLT (Re: XML -> XSLT -> XHTML Nirvana)

Cory Foy <Cory.Foy-3E03uoa5e7nqlBn2x/[email protected]> Mon, 14 Mar 2005 11:50:46 -0500
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Phlip wrote:
> That is flexibility that "my system" prohibits. (Understand I'm not
> pushing a "system" - just extra decoration in the XML payload when
> convenient.)
> 
> "My system" is flexible when I can think of new XHTML and push it from
> the Real Programming Language Layer into the XML. I don't need to edit
> the XSLT, use 'if' statements to figure out which of a generic set of
> data gets the decoration, use more 'if' statements to figure out what
> the decoration is, etc.

Well then it looks like we've both found our /Nirvana/ :)  I do admit, 
following the WebXP PD to it's fullest extent has the potential to 
produce some verbose XSL. And though I still disagree with some of your 
assertions about flexibility, I also recgonize that we both have 
different goals we are trying achieve (easier deployment across 
disparaging platforms vs being able to make logic decisions in a "true" 
programming language).

So, going back to your original post:

> This post is either a question or a manifesto, depending on if anyone has
> read and/or followed the book more strictly than I and can raise any
> objections!

It sounds like you are aware of the objections, and it just makes better 
business sense for you to not follow it to its complete strictness. 
Which sounds like a darn good reason to me.

Cory




To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/