[LC] 11.6 The resource Element and Attribute

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 UTC