Subject: Re: [xsl] Sequence count vs. context position From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Fri, 4 Oct 2024 08:55:24 -0000 |
On Fri, 4 Oct 2024 at 09:49, Michael Mueller-Hillebrand michael.mueller-hillebrand@xxxxxxxxx < xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi Gerrit & Mike, > > wouldn't this short form work: > > key('keyName', $keyValue)[.[1]] > the effective boolean value of .[1] is always true so that is the same as key('keyName', $keyValue) David > > My bottom line: You have to be careful with position predicates. > > Thanks, > Michael
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sequence count vs. contex, Michael Mueller-Hill | Thread | Re: [xsl] Sequence count vs. contex, Michael Kay mike@xxx |
Re: [xsl] Sequence count vs. contex, Michael Mueller-Hill | Date | Re: [xsl] Sequence count vs. contex, Michael Kay mike@xxx |
Month |