A comment concerning the big picture.

I regard BaseX as an exquisite - and in many respects unique - platform of data integration. Therefore I would consider the most flexible and unconstrained support for XSLT 3 as a high priority, worth extra miles, if necessary.

Kind regards, Hans-Jürgen Rennau

Am Dienstag, 2. Juli 2024 um 20:37:14 MESZ hat Christian Grün <christian.gruen@gmail.com> Folgendes geschrieben:


> as a workaround, it seems you can do e.g.
   <xsl:template match="/">
      <dummy/>
      <xsl:apply-templates select="doc/chapter/page"/>
   </xsl:template>

This would have been my suggestion, too. Thanks.