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

[LC] 11.6 The resource Element and Attribute

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Thu, 24 May 2007 15:25:54 +0200 (CEST)
To: www-forms-editor@w3.org
Message-Id: <20070524132554.8661F77BBF@sirius.ins.cwi.nl>

http://www.w3.org/TR/xforms11/#submit-resource

"The URI to be used by the submission can be specified with either the
value attribute or the string content of the resource element."

So we now have the following equivalent possibilities:

     <submit action="http://examples.org/search"/>
     <submit resource="http://examples.org/search"/>
     <submit><resource value="'http://examples.org/search'"/></submit>
     <submit><resource>http://examples.org/search</resource></submit>

Isn't this overkill?

Proposal: 
	  Keep @action for the literal case
	  Use @resource as a value attribute
	      <submit resource="concat('http://', site, '/', command)"/>
	  Drop the resource child.
Received on Thursday, 24 May 2007 13:26:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 10 June 2009 18:12:15 GMT