I'm using Oxygen, which currently only includes Saxon 9.3 [rather than 9.4].

This means, I think, that I cannot use the various extension functions [map:entry, map:net,etc.], but I should still be able to use map{key := value}.

I get an error when I use the following expression

<xsl:variable name="opMap" select="map{'a' := 1}"/>

The error is: Description: Node constructor expressions are allowed only in XQuery, not in XPath

I have requested access to XPath 3.0 by using <<version="3.0">> in the <xsl:stylesheet> tag.

When I run this using Saxon 9.4 via an external tool, I don't get this error.

Is there no support for maps as XDM objects in Saxon 9.3?

-David

--

"A false conclusion, once arrived at and widely accepted is not dislodged easily, and the less it is understood, the more tenaciously it is held." - Cantor's Law of Preservation of Ignorance.