Subject: Re: [xsl] current-group() contains a particular element From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 3 Aug 2022 18:33:05 -0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] current-group() contains , Graydon graydon@xxxx | Thread | [xsl] How to tokenize a comma-separ, Roger L Costello cos |
Re: [xsl] current-group() contains , John Lumley john.lum | Date | Re: [xsl] current-group() contains , Michael Kay mike@xxx |
Month |