> XSLT is an event-based language so it ought to be possible to find a way to
> make it handle user-input events (or data arriving from the server) by
> firing appropriate template rules. But I've no idea how this would look in
> detail.
We just need a standard F & O function for this.
See how this was done in the "XSLT calculator" 7 years ago: :)
http://fxsl.sourceforge.net/articles/xslCalculator/The%20FXSL%20Calculator.html#6._Putting_it_All_Together_-_the_XSLT_Calculator
Although this is a desktop app, the same design can be applied towards
a browser scripting application.
--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
On Wed, Dec 1, 2010 at 9:43 AM, Michael Kay <> wrote:
> On 01/12/2010 16:45, Rob Koberg wrote:
>>
>> Another big problem I forgot to mention is handling browser events.
>> XML or XML apps (XSL) in the browser cannot catch browser events.
>>
>
> Yes, there's always been an uncomfortable asymmetry here - XSLT to handle
> the output, XForms to handle the input. Which doesn't really work well in an
> Ajax kind of world. I'd love to do something more integrated. In principle
> XSLT is an event-based language so it ought to be possible to find a way to
> make it handle user-input events (or data arriving from the server) by
> firing appropriate template rules. But I've no idea how this would look in
> detail.
>
> Michael Kay
>
> _______________________________________________________________________
>
> 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:
> subscribe:
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>