W3C home > Mailing lists > Public > www-forms@w3.org > December 2002

RE: Using context information within a repeat

From: T. V. Raman <tvraman@us.ibm.com>
Date: Thu, 5 Dec 2002 08:05:51 -0800
Message-ID: <15855.31071.977137.793587@bubbles.almaden.ibm.com>
To: "Mark Seaborne" <MSeaborne@origoservices.com>
Cc: <www-forms@w3.org>


I would have expected both of what you tried 
to work. Note that <output value=.../> was added sometime in June
during the last call period and implementations may still be catching
up.

>>>>> "Mark" == Mark Seaborne <MSeaborne@origoservices.com> writes:


    Mark> Forgot to mention, I have tried using:

    Mark> <output value="position()"/> <output
    Mark> value="index('my_repeat')"/>

    Mark> X-Smiles doesn't yet support @value, the Novell browser
    Mark> always returns 1, and the FormsPlayer plug in doesn't return
    Mark> any value (I tried using the ref attribute with FormsPlayer,
    Mark> as it doesn't yet support 'value', but the documentation
    Mark> says that ref should support any XPath expression). I am not
    Mark> convinced that my attempts are correct though.

    Mark> All the best

    Mark> Mark

    >> -----Original Message----- From: Mark Seaborne Sent: 04
    >> December 2002 15:44 To: www-forms@w3.org Subject: Using context
    >> information within a repeat
    >> 
    >> 
    >> 
    >> Hi
    >> 
    >> I have a repeat element, iterating over a structure in an XML
    >> instance. I want to include some text along the lines of: "This
    >> is the nth iteration of 'my_element'".
    >> 
    >> I am stumped. Anyone got any ideas how I can do this?
    >> 
    >> Thanks
    >> 
    >> Mark
    >> 
    >> 

-- 
Best Regards,
--raman
------------------------------------------------------------
T. V. Raman:  PhD (Cornell University)
IBM Research: Human Language Technologies
Architect:    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://www.cs.cornell.edu/home/raman
AIM:      TVRaman
PGP:          http://emacspeak.sf.net/raman.asc
Snail:        IBM Almaden Research Center,
              650 Harry Road
              San Jose 95120
Received on Thursday, 5 December 2002 11:06:23 GMT

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