Re: [xsl] current-group() contains a particular element

Subject: Re: [xsl] current-group() contains a particular element
From: "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2022 17:46:55 -0000
On Wed, Aug 03, 2022 at 05:38:09PM -0000, rick@xxxxxxxxxxxxxx scripsit:
> I am trying to figure out if the current-group() I am processing contains a
> particular element. I am trying to use exists(), but I am not sure the correct
> syntax. Any help would be appreciated. Thank you.

some $x in current-group() satisfies $x instance of element(elment-name)

is not the most compact syntax but it's relatively easy to read.

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

Current Thread