[whatwg] Web Forms 2.0 methods and enctypes

Ian Hickson ian at hixie.ch
Thu Jul 15 09:53:40 PDT 2004


On Sun, 11 Jul 2004, Ben Meadowcroft wrote:
>
> Perhaps one way to do this would be to allow a form submitting
> x-www-form-xml encoded data to be transformed using XSLT on the data,
> this could be done on the server or it could be done on the client, e.g.
>
> <form
> 	action="http://example.com/atom.endpoint"
>       enctype="application/x-www-form+xml"
> 	target-enctype="application/atom+xml"
> 	transformation="http://example.com/atom.transform.wf2"
>       method="post">
>
> This would then provide an extensible mechanism for advanced uses of XML
> submission in a variety of domain specific XML languages such as atom.

Yeah, one of the earlier WF2 drafts mentioned this as a possibility. The
main reason WF2 doesn't have it is that neither Safari nor Opera support
XSLT, nor do they have any plans on supporting it in the near future
(Opera in particular is very concerned about the footprint of an XSLT
processor on the client, since Opera is targetted at small devices).

This isn't a major loss though, as you can simply move the transformation
step to the server, and have the server then contact the final target.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list