[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] things about grouping


Subject: Re: [xsl] things about grouping
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Wed, 28 Nov 2012 10:41:42 +0000

> If you are going to support an operator called except then it's
> semantics should be that such that it takes it's context from it's
> left hand side

One way to think about this is to visualise the tree of nodes in your
head - visualise the whole input tree.   Then visualise the nodes
selected by the LHS glowing one colour, and the nodes selected by the
RHS glowing in a different colour.  It should then be easier to
visualize those nodes selected by the LHS except those nodes also
selected by the RHS, and also help with seeing the RHS selection being
independent of the LHS.

That might help, or it might be nonsense... (aka ymmv) but the ability
to visualise the tree of nodes is key.



-- 
Andrew Welch
http://andrewjwelch.com


Current Thread