On Sun, Mar 30, 2014 at 7:49 PM, John Lumley <john(_at_)saxonica(_dot_)com>
wrote:
On 30 Mar 2014, at 18:28, Michael Kay <mike(_at_)saxonica(_dot_)com> 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.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--