[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Interactive XSLT [was RE: James Clark: XML versus the Web]

  • From: Peter Hunsberger <peter.hunsberger@gmail.com>
  • To: Michael Kay <mike@saxonica.com>
  • Date: Wed, 1 Dec 2010 22:53:22 -0600

Re:  Interactive XSLT [was RE: James Clark: XML versus the Web]
On Wed, Dec 1, 2010 at 6:19 PM, Michael Kay <mike@saxonica.com> wrote:
> What I'm trying to imagine is some kind of way of associating XSLT
> templates with user interface events so the dialog structure is
> user-controlled. Of course this raises question about how state is
> maintained; I don't have any well-formulated thoughts on this.

This is why I mentioned continuations... Basically, you use a model
where a call path from the server to the client browser returns back
to the same spot in the template after the client does a submit. State
is maintained on the server in a call tree.   Imagine a syntax
something like: <xslt:call-browser applying-templates="...."> that
built a tree from the applied templates for the main body, with things
like headers and cookies as parameters to the call. The browser back
and forward buttons mean you have to keep some depth of tree hanging
around (and why it is a tree in the first place).  However, you match
up previously invoked continuations (each is uniquely parameterized)
so you can tell what is going on, and you can tell when you can clean
up dangling continuations.

-- 
Peter Hunsberger


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.