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

Subject: Re: [xsl] current-group() contains a particular element
From: "John Lumley john.lumley@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Aug 2022 18:32:25 -0000
I was wrong - should be exists(current-group()[self::particular-element])

John Lumley
john@xxxxxxxxxxxxxx

> On 3 Aug 2022, at 18:43, xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx wrote:
>
> o;?
> Thank you for the quick response John. I didnbt think of using a
predicate.
>
> From: John Lumley john@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Wednesday, August 3, 2022 1:42 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] current-group() contains a particular element
>
> exists(current-group()[particular-element])
>
> Sent from my iPad
>
>
> On 3 Aug 2022, at 18:38, xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx wrote:
>
> o;?
> Hi All,
>
> 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.
>
> Rick
> XSL-List info and archive
> EasyUnsubscribe (by email)
> XSL-List info and archive
> EasyUnsubscribe (by email)
> XSL-List info and archive
> EasyUnsubscribe (by email)

Current Thread