[xquery-talk] [ANN] XQuery in the Browser, JavaScript Edition
Michael Kay
mike at saxonica.com
Mon Jan 3 20:02:36 PST 2011
On 03/01/2011 16:54, Fourny Ghislain wrote:
> Dear all,
>
> Last year, at XML Prague 2010, we presented our latest release of the XQuery in the Browser plugin. While the audience seemed enthusiastic about this idea, using a plugin was seen as insurmountable obstacle to a wider adoption of using XQuery on the client layer.
>
> So we decided to get rid of the plugin.
>
> It is our pleasure to introduce an alpha preview of XQuery in the Browser, JavaScript Edition. The principle remains the same: the XQuery code put inside a script tag (type text/xquery) gets executed. The difference is: there is nothing to install.
>
> A preview of some samples is available under http://www.xqib.org/js
>
> More information (supported browsers, how to write your own XQuery code…) is available under http://www.xqib.org
>
> Your feedback is welcome.
>
Congratulations.
As far as I can see, the architecture is the same as I'm using to get
XSLT 2.0 on the browser
http://saxonica.blogharbor.com/blog/_archives/2010/11/16/4681337.html
You seem to have the size of the Javascript down to about 189Kb, which
is impressive - for XSLT 2.0 I'm having difficulty getting it much below
900Kb. Any feedback would be welcome on (a) how to reduce the size, and
(b) how important you think the size is. (Do you, for example, partition
the executable so that the code for "big" functions like
normalize-unicode() is downloaded on demand?)
Michael Kay
Saxonica
More information about the talk
mailing list