Re: @value on value element?

This has been suggested before by Kenneth and I was all for it then but 
it never came down to solution. This would be such a useful feature!

/David

Allan Beaufour wrote:
>
> It occured to me that it maybe could be useful to have @value (like
> for setvalue and output) on the <xf:value/> element too.
>
> So you could do:
>    <xf:select1 ref="foo">
>      <xf:label>Choose something: </xf:label>
>      <xf:itemset nodeset="/listitems">
>     <xf:label ref="@name"/>
>     <xf:value value="concat(value1, ',', value2)"/>
>      </xf:itemset>
>    </xf:select1>
> To create "val1, val2" as the value of foo when an item is selected.
> This could be used for constructing URIs or creating requests to
> abitrary services.
>
> The only problem I can see (right now :) ), is how to handle the
> semantics for relevancy for values -- if we want to give that any
> meaning (as per the thread Erik started some time ago).
>
> What do you say?
>

Received on Thursday, 11 May 2006 13:02:54 UTC