|
Subject: Re: [xsl] Keys with duplicates should be simple From: Graydon <graydon@xxxxxxxxx> Date: Sat, 1 Feb 2014 16:22:54 -0500 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Keys with duplicates shou, Tony Graham | Thread | Re: [xsl] Keys with duplicates shou, David Carlisle |
| Re: [xsl] Keys with duplicates shou, Graydon | Date | Re: [xsl] Keys with duplicates shou, Ihe Onwuka |
| Month |