[whatwg] HTML5 and URI Templates

While I am certain some folks may not appreciate the departure from the
engaging and entertaining debate over video codecs, I wanted to offer a
minor feature suggestion [1] with regards to HTML5 forms and URI
Templates [2].

The gist of the idea (which I believe may have been brought up before
but I'm not certain) is to allow the use of a URI Template in place of
the form element action attribute, and to use form elements to provide
the replacement values, e.g.

<form template="http://example.org{-prefix|/|foo}?bar={bar}"
      method="POST">
  Foo: <input name="foo" type="input" >
  Bar: <input name="bar" type="input">
</form>

- James

[1] http://www.snellspace.com/wp/?p=827
[2] http://www.ietf.org/internet-drafts/draft-gregorio-uritemplate-02.txt

Received on Saturday, 15 December 2007 19:28:12 UTC