Re: [TFUI] XML -> XSLT -> XHTML Nirvana
"Phlip" <[email protected]>
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <001801c523ef$ca9bc810$0102a8c0@DF619121> |
Cory Foy wrote:
> Phlip wrote:
> > However, when aiming for the goal "only XSLT supplies markup", I cheat.
> > Faced with a short schedule and long feature list, and face with the
absurd
> > complexities required to code a lowly 'if' statement inside XSLT, I move
the
> > 'if' statement up into the project that generates the XML.
>
> Forgive me for being a little naive - but what does creating an if
> statement inside XSLT look like to you? I agree that when you want an
> *else* - therefore you have to use the monolithic xsl:choose - it is
> nasty, but if has always seemed fairly straightforward to me.
A wooden sailing ship uses several miles of rope. Some of that rope is
"fixed rigging". You are not supposed to untie or move it during normal
operations. The rest is "running rigging", which you untie, pull, and retie
to change your sails' configurations.
Maybe what I'm looking at is the idea of putting all the fixed HTML markup
into XSLT, and the running HTML, which changes under logic, into encoded
fields in the XML.
--
Phlip
http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces
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/