https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2023-01-11T18:44:21ZSaxonica Developer CommunitySaxonJS - Bug #5807: current() does not work when invoked via xsl:evaluatehttps://saxonica.plan.io/issues/5807?journal_id=223922023-01-11T18:44:21ZMichael Kaymike@saxonica.com
<ul></ul><p>The XSLT 3.0 specification lists the functions that are available within xsl:evaluate at <a href="https://www.w3.org/TR/xslt-30/#evaluate-static-context" class="external">https://www.w3.org/TR/xslt-30/#evaluate-static-context</a> and the list explicitly excludes functions defined in XSLT as distinct from the F&O specification.</p>
<p>So it's not going to be there automatically by virtue of being defined in XSLT. Arguably the current() in XForms is a different function. How you add XForms functions is another question...</p>