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

suppressing certain values in a select element

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Mon, 23 Dec 2002 15:51:48 +0100
Message-ID: <0C79A363CB0321418927D0CB1AD0403C29A6FB@hicoetsrv000006.hico.local>
To: <www-forms@w3.org>
Hello, 

I would like to suppress certain values, which are dynamically created through a itemset, depending on the element content. I just want to display all element values from the element tm:baseNameString where the content is not empty. 
I tried it with 

<p class="padding">
	<xforms:select1 ref="tm:instanceOf/tm:topicRef/@xlink:href">
		<xforms:label>Typ of the Association: </xforms:label>
		<xforms:hint>Please choose a name for your association</xforms:hint>
		<xforms:itemset nodeset="//tm:topicMap/tm:topic/tm:baseName/tm:baseNameString[string-length()!= 0]">
			<xforms:label ref="." />
			<xforms:value ref="../../@id" />
		</xforms:itemset>
	</xforms:select1>
</p>

but it doesn't work out, because it seems to be a invalid binding expression. 
I would like to know if there is another way to achieve this or if it is supposed to work.
Thanks for the help.

wbr,
Roman

Roman Huditsch (hRHU )
Developer .:. Information & Application Engineering 
_____________________________________________________________________
hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
TechLab, Thomas A. Edison Straße 2.
A-7000 Eisenstadt / Austria
phone: +43/2682/704-61-73; fax: +43/2682/704-71-61-10
e-mail: roman.huditsch@hico.com
mobile: +43/664/4102715


Received on Monday, 23 December 2002 09:52:46 GMT

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