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

RE: Dynamic itemset labels

From: Klotz, Leigh <Leigh.Klotz@pahv.xerox.com>
Date: Fri, 13 Dec 2002 15:15:23 -0800
Message-ID: <51B8ABCE456FD111899900805F6FD6EE11471149@mercury.ADOC.xerox.com>
To: "'Mark Seaborne'" <MSeaborne@origoservices.com>, "'www-forms@w3.org'" <www-forms@w3.org>

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 GMT

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