Re: [xsl] How to create xsl:key that has a composite value in its "use" attribute?

Subject: Re: [xsl] How to create xsl:key that has a composite value in its "use" attribute?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 15 Mar 2025 16:27:02 -0000
On 15/03/2025 17:19, Roger L Costello costello@xxxxxxxxx wrote:
<xsl:template match="ARPT/ARPT/row">

<result>

<xsl:for-each select="key('ARPT-to-ANAV', ARPT_IDENT)">

<xsl:sequence
select="key('ANAV-to-BDRY',(NAV_IDENT,NAV_CTRY,NAV_TYPE))[TYPE eq
'08']/BDRY_IDENT"/>

</xsl:for-each>


</result>

</xsl:template>


That could be written as

<xsl:template match="ARPT/ARPT/row">

B B B <result>

B B B B B B B B B B B  <xsl:sequence select="key('ARPT-to-ANAV', ARPT_IDENT)
!
key('ANAV-to-BDRY',(NAV_IDENT,NAV_CTRY,NAV_TYPE))[TYPE eq
'08']/BDRY_IDENT"/>

B B B </result>

</xsl:template>

I would think.

Current Thread