[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: nested templates?

Subject: RE: nested templates?
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Wed, 16 May 2001 23:21:58 +0100
nested templates contribute
Tom,
Theory and real life rarely match up neither do life and production. I
didn't mean to have a go I just wanted to kick the idea around a bit as it
had occured to me more than once.

Ciao Chris
p.s. Did anyone see that Screaming J Hawkins documentary last night?

XML/XSL Portal
http://www.bayes.co.uk/xml


>-----Original Message-----
>From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Thomas B.
>Passin
>Sent: 16 May 2001 22:16
>To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
>Subject: Re:  nested templates?
>
>
>[Chris Bayes]
>
>> Thomas,
>> I think that is a completely bad example. That is completely flat and
>> doesn't give any insight into anything. You might as well have just used
>> goto for all the stucture there is in it.
>>
>
>[Tom]
>Depends on what you want to accomplish, Chris. I first wrote one like this
>when I was working with someone else who was creating spaghetti xslt code,
>and we both had to contribute to the pages.  It made all the
>difference.  On
>the other hand, all my stylesheets aren't like this by any means.
>
>I'm responding to the literal words in the original posting, which talked
>about "pages", and nesting templates so you could do the whole
>page at once.
>Of course, we don't know how general he was thinking his input
>would be.  He
>also mentioned 'production".  So I illustrated a way in which you could
>create a series of production pages from a clean, simple template
>that would
>be easy to customize, while avoiding the trap of getting lost in too many
>'little bits".  Different people could work on the different
>parts, and even
>run the corresponding templates on their work to test it.  That's a decent
>approach for "production".
>
>As for flatness, we don't know what would have gone into the component
>templates.  They could have been recursive as anything, who knows!
>
>One of the main points I wanted to illustrate was that you can use xslt -
>for "production-like purposes -to do without 1) betting killed by little
>dismembered bits, and 2) not get lost in a large, convoluted block.
>
>A model for everything?  Not at all!
>
>Regards,
>
>Tom P
>
>
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.