Answer the question
In order to leave comments, you need to log in
How to make xsl:key work in the current context?
There is a script snippet:
<xsl:apply-templates select="item1/item2[generate-id(.)=generate-id(key('DutyKey',item3))]">
<xsl:sort order="ascending" select="item3"/>
</xsl:apply-templates>
<item0>
<item1>
<item2>
<item3>
</item3>
</item2>
<item2>
<item3>
</item3>
</item2>
</item1>
</item0>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question