> 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.
I doubt that exists() by itself is exactly what you want. The
current-group() is a sequence of the nodes in the current group. Without
knowing what identifies your particular element, itbs hard to predict
exactly what you want. If youbre looking for the bmy-elementb element,
something like this might be what youbre looking for:
current-group()/self::my-element
You could ask
exists(current-group()/self::my-element)
but thatbs not really necessary.
Be seeing you,
norm
--
Norman Tovey-Walsh <ndw@xxxxxxxxxx>
https://nwalsh.com/
> Everything the same; everything distinct.
[demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
|