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

Vyacheslav Sedov vyacheslav.sedov at gmail.com
Thu Mar 26 14:29:41 PST 2009


good job - thank you very much, i did not demand something to do -just asked about plans
by the way i can suggest to your team next target - XQuery asOpenOffice scripting language :)
i note in sample that element names in XPath is uppercase and don`tseen default namespace declaration as xhtml, probably it is not good(i copy sample below)
can js and xquery safely be mixed at one page?
also probably good idea to work in cooperation with developers ofXForms plugin for Firefox when you will shape this plugin for Firefox- something like Dynamic XForms will be very cool
i hope that here will be XSLT transform support (browser internalprocessor and Saxon for Intranet use)
With best wishes,Slav
<?xml version='1.0′ encoding="utf-8″?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">   <head>      <script type="text/xqueryp">         declare function local:main() {            browser:alert(//H1)         };      </script>   </head>   <body>      <h1>Hello, world!</h1>   </body></html>

On Thu, Mar 26, 2009 at 12:19 PM, Markus Pilman <mpilman at student.ethz.ch> wrote:> Hi,>>> But world of browsers not divided to IE part & FF part :)> Of course not. At the moment we are redesigning the code. After that,> integrating xqib into another Browser should be done in several hours.> But of course it is not possible to support all browsers at once :-)>> Regards>> Markus>> On Thu, Mar 26, 2009 at 7:55 AM, Vyacheslav Sedov> <vyacheslav.sedov at gmail.com> wrote:>> Hello,>>>> Yep. I note it.>>>> But world of browsers not divided to IE part & FF part :)>>>> i mean here also Safari, Google Chrome & Opera (Opera take about 20% in Russia).>>>> http://www.liveinternet.ru/stat/ru/browsers.html?lang=en>>>> Michael, can i ask why you (or your company) use this *stupid* (sorry>> but it`s true) warning "Notice:  This email message, together with any>> attachments, may contain information  of  BEA Systems,  Inc.,  its>> subsidiaries  and  affiliated entities,  that may be confidential,>> proprietary,  copyrighted  and/or legally privileged, and is intended>> solely for the use of the individual or entity named in this message.>> If you are not the intended recipient, and have received this message>> in error, please immediately return this by email and then delete it.">>>> Why not end with "and format your HD (twice)"? ;)>>>> This is look like similar warning on wallet - good people can use>> visit card info to return it to you, but thief don`t even read your>> strong warning. Just this look like some kind of mental virus. Or this>> is some kind of advertising? Still not good too.>>>> Why not use something like "Please don`t print this letter without>> need" (i guess this is mental virus too but at least less dangerous).>>>> With best wishes,>> Slav>>>> NOTICE: If you still reading this - don`t worry be happy :)>>>> On Wed, Mar 25, 2009 at 11:39 PM, Michael Reiche>> <michael.reiche at oracle.com> wrote:>>>  > A similar Firefox plugin is under construction.>>>>>> Last line of the message>>>>>>>>>>>> -----Original Message----->>> From: talk-bounces at x-query.com [mailto:talk-bounces at x-query.com] On Behalf Of Vyacheslav Sedov>>> Sent: Wednesday, March 25, 2009 12:49 PM>>> To: daniela florescu>>> Cc: talk at x-query.com>>> Subject: Re: [xquery-talk] [ANN] XQuery as a scripting language in IE>>>>>> 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>>>>>>>>>> _______________________________________________>>> talk at x-query.com>>> http://x-query.com/mailman/listinfo/talk>>>>>> Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.>>>>>>>>>> _______________________________________________>> talk at x-query.com>> http://x-query.com/mailman/listinfo/talk>>>


More information about the talk mailing list