Re: sorting and grouping in XForms?

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!

Michael

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