xsl-list
[Top] [All Lists]

Re: [xsl] Keys with duplicates should be simple

2014-02-01 15:23:07
On Sat, Feb 01, 2014 at 11:39:06AM -0000, Tony Graham scripsit:
On Sat, February 1, 2014 12:11 am, Graydon wrote:
...
I still want a better syntax for using negated except in predicates,
such as:

div[not(* except (heading,para))]

("div elements which have only heading and para child elements" only
it's really "div elements where none of the child elements are anything
except heading and para")

div[empty(* except (heading, para))]

could make the intent a little bit clearer.

Oh, it could indeed, thank you!

Don't normally think of empty() as being of general utility.

Thanks!
Graydon

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