Re: [xsl] Filtering, xslt 2.0

Subject: Re: [xsl] Filtering, xslt 2.0
From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2022 20:06:55 -0000
sequence-equals, opposate to eq

('a', 'b', 'c') = 'b' => true()

('a', 'b', 'c') eq 'b' => false()

Christophe

Le 31/10/2022 C 18:24, Dave Pawson dave.pawson@xxxxxxxxx a C)critB :
On Mon, 31 Oct 2022 at 16:47, Graydon graydon@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
On Mon, Oct 31, 2022 at 04:35:10PM -0000, Dave Pawson dave.pawson@xxxxxxxxx scripsit:
<grin/> Not yet (will I ever be?) familiar with xslt 3.0
Two has the sequence concept.

param="a;b;c;d"

<xsl:param name="rawMatch" as="xs:string" />
<xsl:variable name="matchOptions" as="xs:string+"
select="tokenize($rawMatch,';')" />
(assume xslt 2.) - OK, happy with that.

Then the sequence-equals test will return true if it's any of the values
in the param.
Sequence-equals? 3.0? function?
Google hasn't found this Graydon?

regards

Current Thread