Thank you, though I think this means I won't be able to call methods on the history object

> Date: Wed, 13 Nov 2013 21:23:26 +0000
> From: pgfearo@googlemail.com
> To: saxon-help@lists.sourceforge.net
> Subject: Re: [saxon] saxon ce: history
>
> Assigning 'history' to a variable does not seem to work - possibly GWT
> can't cope with the (html5) history object as a normal JS object?
>
> To get the history length I therefore tried the following - which worked:
>
> <xsl:variable name="history-length" as="xs:double"
> select="ixsl:get(ixsl:window(), 'history.length')"/>
> <h1>Twice history length: <xsl:value-of select="$history-length * 2"/></h1>
>
> -----
> Phil Fearon
>
> On Wed, Nov 13, 2013 at 10:14 AM, Per Arti <perarti@outlook.com> wrote:
> > 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?
> >
> >
> > ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > saxon-help mailing list archived at http://saxon.markmail.org/
> > saxon-help@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/saxon-help
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> saxon-help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/saxon-help