XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] RE: James Clark: XML versus the Web

> 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 <mike@saxonica.com> 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: 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
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS