Understanding XSLT 2.0 xsl:key and key() Function for Efficient Node Lookup

In XSLT, the id() function can be used to locate nodes, but it has certain limitations. For instance, ID-type values cannot be pure numbers, and their values must conform to XML naming rules. This limitation can be inconvenient in specific scenarios, such as locating books by ISBN numbers, wich are pure numeric identifiers and don't fit the ID ...

Posted on Sun, 28 Jun 2026 16:47:38 +0000 by redrage

Mastering XSLT 2.0 Grouping with xsl:for-each-group

XSLT 2.0 introduced the xsl:for-each-group instruction, which enables powerful grouping operations on node sequences. This capability was a significant enhancement over XSLT 1.0, eliminating the need for the Muenchian method and complex key-based workarounds. The instruction processes a sequence of items by dividing them into groups based on sp ...

Posted on Thu, 28 May 2026 23:01:09 +0000 by dmIllithid