On Mon, Jan 20, 2020 at 2:19 AM Michael Kay mike(_at_)saxonica(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:
The simplest (XPath 2.0) solution that comes to mind is
count(//director) eq count(//author) and
every $d in //director satisfies
some $a in //author satisfies
deep-equal($d/*, $a/*)
+1
(with the improvisation suggested by Martin)
--
Regards,
Mukul Gandhi
http://member.acm.org/~mukulgandhi
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--