W3C home > Mailing lists > Public > www-forms@w3.org > May 2004

Sources for possible selections and actual data

From: Victor <engmark-usenet@orakel.ntnu.no>
Date: Thu, 13 May 2004 13:14:58 +0200
To: www-forms@w3.org
Message-ID: <c7vlbj$bcf$1@sea.gmane.org>

I am trying to get the possible choices for a select1 statement from one 
instance, and the actual values of the selects from a different 
instance. The problem is, in Chiba, the latter is ignored, and all 
select boxes show only the first alternative. The code is as follows:

<xf:instance id="jobResults">
	<results xmlns="">
			<label>Not OK</label>
			<value>Not Ok</value>

<xf:bind id="job-bind" nodeset="job">
	<xf:bind id="jobResult-bind" nodeset="result"/>

<xf:select1 id="jobResult" bind="jobResult-bind">
	<xf:itemset nodeset="instance('jobResults')/result">
		<xf:label ref="label"/>
		<xf:value ref="value"/>

Can it be that jobResult-bind doesn't resolve to the same instance 
document as job-bind, but instead looks in instance('jobResults')?

Received on Thursday, 13 May 2004 07:34:14 UTC

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