@value on value element?

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?

-- 
... Allan

Received on Thursday, 11 May 2006 11:19:13 UTC