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

Re: When to use conditional constructions?

Subject: Re: When to use conditional constructions?
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Sun, 30 Mar 2014 19:59:54 +0100
Re:  When to use conditional constructions?
On Sun, Mar 30, 2014 at 7:49 PM, John Lumley <john@xxxxxxxxxxxx> wrote:
>
> On 30 Mar 2014, at 18:28, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>

> I've found that one of the benefits of using xsl:choose is that it keeps all
the 'cases' together in one coherent collection. It also has a well-defined
'priority order'. If you use multiple template rules they can end up scattered
and difficult to view as a complete set and priority can be somewhat awkward.
>

Similar arguments apply  re functional programming vs oo programming
(logic scattered amongst classes).

However this is not something I would do. In my view It is the
processors job to decide which template to fire.

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.