xsl-list
[Top] [All Lists]

Re: [xsl] compare two node sets

2020-01-19 15:36:18

I think you need to put the `every` expression into parenthesis, and in
the context of a `film` element it suffices to use child selection, so
to simplify:

count(director) eq count(author) and (every $d in director satisfies
some $a in author satisfies deep-equal($d/*, $a/*))

Yes, like that it works. Thank you!

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

<Prev in Thread] Current Thread [Next in Thread>