W3C home > Mailing lists > Public > www-forms@w3.org > June 2005

RE: select or select1 values - element content rather than just text (10023-19605)

From: <Michael.Will@derivativeservices.com>
Date: Fri, 10 Jun 2005 14:20:07 -0400
Message-ID: <40F3F4D0ACAAE541B6CAE67CDAA425DA07C0E9@NYVIMBX01A.omnia.aoglobal.com>
To: <www-forms@w3.org>
> Hi,
> 
> I'm very new to Xforms and am trying to use it to create xml data
> files. 
> 
> I have no problems when the values I want to submit are plain text.
> 
> For example:
> 
> <xf:select1>
> 	<xf:label>Is today Friday?<br/>
> 	</xf:label>
> 	<hr/>
> 	<xf:item>
> 		<xf:label>yes</xf:label>
> 		<xf:value>yes</xf:value>
> 	</xf:item>
> 	<xf:item>
> 		<xf:label>no</xf:label>
> 		<xf:value>no</xf:value>
> 	</xf:item>
> </xf:select1>
> 
> The issue I would like some advice on is whether it is possible to
> have an element as a value rather than text.
> 
> For example:
> 
> <xf:select1>
> 	<xf:label>Is today Friday?<br/>
> 	</xf:label>
> 	<hr/>
> 	<xf:item>
> 		<xf:label>yes</xf:label>
> 		<xf:value><yes/></xf:value>
> 	</xf:item>
> 	<xf:item>
> 		<xf:label>no</xf:label>
> 		<xf:value><no/></xf:value>
> 	</xf:item>
> </xf:select1>
> 
> Regards,
> 
> Michael Will
> Derivative Services LLP
Received on Sunday, 12 June 2005 03:32:04 GMT

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