W3C home > Mailing lists > Public > www-forms@w3.org > April 2005

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

From: T. V. Raman <tvraman@us.ibm.com>
Date: Mon, 11 Apr 2005 06:59:35 -0700
Message-ID: <16986.33479.234350.697001@bubbles.almaden.ibm.com>
To: suzan.foster@nerocmediaware.nl
Cc: tvraman@almaden.ibm.com, www-forms@w3.org



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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:00 GMT