xsl-list
[Top] [All Lists]

Re: [xsl] Keys with duplicates should be simple

2014-02-01 05:09:37
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")

I usually do this:

div[count(*) = count((heading,para))]




-- 
Andrew Welch
http://andrewjwelch.com

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