[xquery-talk] [ANN] XQuery as a scripting language in IE

Vyacheslav Sedov vyacheslav.sedov at gmail.com
Wed Mar 25 22:48:33 PST 2009


cool

what about other browsers?

2009/3/25 daniela florescu <dflorescu at mac.com>:
> Dear all,
>
> we are happy to announce the public release of XQiB,  a plugin for Internet
> Explorer which allows the execution of client-side XQuery to navigate and
> update the browser’s internal DOM. This plugin allows to execute XQuery in
> the same way as JavaScript. However, the resulting code is more elegant
> because there’s no data model mismatch. For example, opening an alert window
> that shows the text of the first H1 element of the current site is as simple
> as that
>
> declare function local:main() {
>   browser:alert ( fn:data( ( //H1 )[1] ) )
> };
>
> Note that the browser plugin provides a rich set of functions to accomplish
> things as showing alert windows or modifying styles.
>
> XQiB is based on the Zorba XQuery processor. Specifically, XQiB is an
> implementation of the Zorba Store API and implements a set of
> browser-specific functions such as the alert function and a variety of other
> AJAX functions (e.g., drag & drop, window controls, asynchronous REST calls,
> etc.). The implementation of the Store API essentially encapsulates the
> browser’s DOM and therefore delegates accessor and updating function calls
> on the XDM to the DOM.
>
> Zorba’s powerful function library (e.g. REST functions), the implementation
> of various XQuery-related specifications (e.g. XQuery Updating Facility),
> and a variety of language extensions (e.g. eval) make it a pleasure to
> develop rich internet applications.
>
> If you want to learn more about XQiB, are interested in playing around with
> it, or would like to contribute to the project, please
> visit http://www.xqib.org/.
>
> A similar Firefox plugin is under construction.
>
> The XQIB team
>
> _______________________________________________
> talk at x-query.com
> http://x-query.com/mailman/listinfo/talk
>



More information about the talk mailing list