Kurt Cagle
Invited Expert, XForms Working Group, W3C
Managing Editor, XMLToday.org
On Sun, Mar 27, 2011 at 9:29 AM, Ghislain Fourny
<gfourny@inf.ethz.ch> wrote:
Hi,
We are going to present our new API and release at XML Prague 2011 in just a couple of minutes, and would like to take this opportunity to announce a new version of XQuery in the Browser, JavaScript Edition (alpha 2).
The following enhancements were made:
- Merge with the MXQuery mainline.
- New browser API (library and main modules supported).
- Multiple queries in one page.
- Script tag src attributes are supported.
- add/removeEventListener now take a QName as a parameter (soon to be function items).
- General Opera support (Desktop, Mobile, Mini).
- Bug fixes.
The samples in http://www.xqib.org/js have been updated.
The new browser API allows library modules and main modules in script tags, as they are described in the XQuery specification. As a consequence, the type of the XQIB script tags is now application/xquery. The semantics is as follows: a library module is made available for import to subsequent script tags. The output produced by a main module is inserted into the HTML page right after the script tag. This leads to more compact, more readable code (no more local:main()).
The source code is available in an SVN repository through the MXQuery official Web site http://www.mxquery.org, under an Apache 2.0 license. For those who like to live on the cutting edge,mxquery.org provides automatic builds of the latest commits.
An XQIB-JS alpha 2 starter kit for writing your own XQuery code is available on the XQIB Web site http://www.xqib.org
Kind regards,
Ghislain
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php