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

RE: Using context information within a repeat

From: Mark Seaborne <MSeaborne@origoservices.com>
Date: Wed, 4 Dec 2002 16:06:07 -0000
Message-ID: <DC65AE678B89004B9CCB202E19482CC704FB9B@mail.origoservices.local>
To: <www-forms@w3.org>

Forgot to mention, I have tried using: 

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

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

All the best


> -----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
Received on Wednesday, 4 December 2002 11:06:14 UTC

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