Re: [xsl] How to set an element as the context without using a for-each loop?

Subject: Re: [xsl] How to set an element as the context without using a for-each loop?
From: "Leo Studer leo.studer@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 May 2024 18:22:15 -0000
Martin,

> On 1 May 2024, at 14:09, Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>
>
> On 01/05/2024 13:28, Roger L Costello costello@xxxxxxxxx
<mailto:costello@xxxxxxxxx> wrote:
>> Hi Folks,
>>
>> I have a function that I pass "record" to:
>>
>>
...
>> Is there a better way? One that doesn't involve qualifying every child
element and doesn't involve looping over a single element?
>>
>   <xsl:sequence select="$record ! (Customer_or_Area_Code, Cycle_Date,
Sequence_Number) ! f:convert(.)b/>
I guess this works also with / since it is a node sequence ?
 <xsl:sequence select="$record / (Customer_or_Area_Code, Cycle_Date,
Sequence_Number) / f:convert(.)"/>

Current Thread