xsl-list
[Top] [All Lists]

Re: mixed content nodes question

2005-01-07 12:42:58
On Fri, 7 Jan 2005 11:32:59 -0800, Mark Lundquist 
<ml(_at_)wrinkledog(_dot_)com> wrote:

You mean, "@lookup = '3'" :-).

Ofcourse, my mistake :(

Anyway, here IMHO it's better to _factor_ the match on the <dictionary> node
out into an outer template, then you have a bunch of ifs that only have to
know about the @lookup.  Easier on the eyes, and maybe looselier(?)-coupled
:-) to the document structure...


That's matter of taste, in the end, but i've made that comment to
enhance the importance of the "paradigm thinking" of templates vs
for...loop and if-then-else constructs.

--~------------------------------------------------------------------
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>
--~--