Re: [xsl] Filtering, xslt 2.0

Subject: Re: [xsl] Filtering, xslt 2.0
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2022 16:47:48 -0000
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,';')" />

Then the sequence-equals test will return true if it's any of the values
in the param.


-- 
Graydon Saunders  | graydonish@xxxxxxxxx
^fs oferiode, pisses swa mfg.
-- Deor  ("That passed, so may this.")

Current Thread