RE: Dynamic itemset labels

I think you can use xfm:output inside xfm:label to do this, but
unfortunately for now, that reduces to a previous bug you reported in some
current implementations:


<xfm:itemset nodeset="person">
	<xfm:label><xfm:output value="concat(surname, ' ',
fornames)"/></xfm:label> 
	<xfm:value ref="."/>
</xfm:itemset>

-----Original Message-----
From: Mark Seaborne [mailto:MSeaborne@origoservices.com] 
Sent: Tuesday, December 10, 2002 7:47 AM
To: www-forms@w3.org
Subject: Dynamic itemset labels



Hi

Can anyone tell me if the use of a XPath function within label/@ref, to
return a literal value should work? This is what I have tried in the usual
browsers, to no avail:

<xfm:itemset nodeset="person">
	<xfm:label ref="concat(surname, ' ', fornames)"/>
	<xfm:value ref="."/>
</xfm:itemset>

All the best

Mark

Received on Friday, 13 December 2002 18:15:43 UTC