On Sun, Jan 19, 2020 at 09:26:54PM -0000, Martin Honnen
martin(_dot_)honnen(_at_)gmx(_dot_)de scripsit:
On 19.01.2020 22:21, Wolfhart Totschnig
wolfhart(_dot_)totschnig(_at_)mail(_dot_)udp(_dot_)cl
wrote:
[snip]
XPST0003: Unexpected token "every" at start of expression
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/*))
You might also want to check that the stylesheet version isn't set to
1.0. That ought to give you a different error, but if, in the
stylesheet element you have (among probably several other attributes)
<xsl:stylesheet version="1.0">
You want at least:
<xsl:stylesheet version="2.0">
And honestly
<xsl:stylesheet version="3.0">
Wouldn't hurt.
-- Graydon
--~----------------------------------------------------------------
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
--~--