I'm trying to access the history api with Saxon CE. Based on what I've seen I should be able to use:

<xsl:variable name="history" select="ixsl:get(ixsl:window(), 'history')"/>
<xsl:value-of select="ixsl:get($history, 'length')"/>

This doesnt return anything, am I doing something wrong?