W3C home > Mailing lists > Public > www-forms@w3.org > June 2007

Re: sorting and grouping in XForms?

From: C. M. Sperberg-McQueen <cmsmcq@acm.org>
Date: Fri, 1 Jun 2007 11:08:03 -0600
Message-Id: <9488B48C-4F60-4AC0-8728-F55B6F0E311C@acm.org>
Cc: "C. M. Sperberg-McQueen" <cmsmcq@acm.org>, www-forms@w3.org
To: David Landwehr <david.landwehr@picoforms.com>

On 1 Jun 2007, at 00:48 , David Landwehr wrote:

> Hi,
> Just for fun I made an example that sorts an instance in XForms  
> using XSLT in Firefox. The example is attached to this mail. As you  
> will see the stylesheet itself is also an instance document  
> (however is of course not required to be so). Because the  
> stylesheet is an instance it is possible to change the behavior by  
> binding XForms control to the stylesheet and change stuff like the  
> XPath expression used for sorting or the datatype and so on. It is  
> also possible to have a repository of stylesheets and retrieve them  
> using XForms submissions.
> I hope you will agree that using XSLT and a small javascript is  
> much easier and more maintanable compared to haven written the  
> entire sorting routine in script.

This is MUCH simpler and more straightforward than the
gnarly way I was thinking about trying to make XSLT do
the sorting work.

Thank you very much!

Received on Friday, 1 June 2007 17:08:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:20 UTC