What do you mean by "contains a particular element". Some readers seem to have
interpreted it as "an element with a particular name". I interpreted it as a
specific node (instance).
For the latter, use `if (current-group() intersect $element)`].
Michael Kay
Saxonica
> On 3 Aug 2022, at 18:38, rick@xxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> 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 <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/293509> (by
email <>)
| Current Thread |
|
Graydon graydon@xxxxxxxxx - 3 Aug 2022 17:46:55 -0000
Michael Kay mike@xxxxxxxxxxxx - 3 Aug 2022 18:33:05 -0000 <=
|
|