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, ' ',
	<xfm:value ref="."/>

-----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


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="."/>

All the best

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

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