complex mutually exclusive selections

Is there a way in XForms to produce the equivalent to the following HTML?
 
<fieldset>
  <legend>XForms</legend>
  <input type="radio" name="xformsSource" value="url">XForms URL:
    <input type="text" name="xformsURL" value="XForms URL" />
  </input>
  <input type="radio" name="xformsSource" value="local">Upload XForms file:
    <input type="file" name="xformsLocal" />
  </input>
</fieldset>
 
I tried to do something similar in XForms, but discovered that placing input elements within item elements isn't allowed.  Is there an alternate way to do this?
 
Thanks for any help.
 
Andrew MacDonald


		
---------------------------------
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
--0-557647340-1092854131=:39105
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>Is there a way in XForms to produce the equivalent to the following HTML?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;fieldset&gt;</DIV>
<DIV>&nbsp; &lt;legend&gt;XForms&lt;/legend&gt;</DIV>
<DIV>&nbsp; &lt;input type="radio" name="xformsSource" value="url"&gt;XForms URL:<BR>&nbsp;&nbsp;&nbsp; &lt;input type="text" name="xformsURL" value="XForms URL" /&gt;</DIV>
<DIV>&nbsp; &lt;/input&gt;</DIV>
<DIV>&nbsp; &lt;input type="radio" name="xformsSource" value="local"&gt;Upload XForms file:<BR>&nbsp;&nbsp;&nbsp; &lt;input type="file" name="xformsLocal" /&gt;<BR>&nbsp; &lt;/input&gt;<BR>&lt;/fieldset&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried to do something similar in XForms, but discovered that placing input elements within item elements isn't allowed.&nbsp; Is there an alternate way to do this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for any help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Andrew MacDonald</DIV></DIV><p>
		<hr size=1>Do you Yahoo!?<br>
Express yourself with Y! Messenger! Free. <a
href="http://us.rd.yahoo.com/mail_us/taglines/msgr/evt=26089/*http://messenger.yahoo.com">Download now</a>.
--0-557647340-1092854131=:39105--

Received on Wednesday, 18 August 2004 18:37:32 UTC