Re: How to change the order of repeat-items?

First off scripting and XForms are not mutually exclusive. For
this case, I would definitely write the sorter in JavaScript ---
you're still keeping your design clean and maintainable since the
scripting is not tangled up in the rest of your document.


>>>>> "Suzan" == Suzan Foster <suzan.foster@nerocmediaware.nl> writes:
    Suzan> T. V. Raman wrote:This is a good question.
    >> You would need to rearrange the instance nodes, and the
    >> easiest way to do this would be via an xpath extension
    >> function that performs the sort
    >> 
    Suzan> I take it that defining an xpath extension is
    Suzan> implementation specific?  Is it possible to define
    Suzan> such functions using javascript for instance within
    Suzan> <script/> elements of the hosting xhtml document? I'm
    Suzan> afraid I can't seem to see how scripting fits in with
    Suzan> the xforms model.
    Suzan> 
    Suzan> Regards, Suzan Foster.

-- 
Best Regards,
--raman
------------------------------------------------------------
T. V. Raman:  PhD (Cornell University)
IBM Research: Human Language Technologies
Architect:    RDC --- Conversational And Multimodal WWW Standards
Phone:        1 (408) 927 2608   T-Line 457-2608
Fax:        1 (408) 927 3012     Cell: 1 650 799 5724
Email:        tvraman@us.ibm.com
WWW:      http://almaden.ibm.com/u/tvraman      (google:raman+labrador)
AIM:      emacspeak
GPG:          http://www.almaden.ibm.com/cs/people/tvraman/raman-almaden.asc
Snail:        IBM Almaden Research Center,
              650 Harry Road
              San Jose 95120

Received on Monday, 11 April 2005 13:59:29 UTC