Need help for xml submission.

0 views
Skip to first unread message

Ahmidou

unread,
Jun 5, 2008, 2:15:02 PM6/5/08
to Web Forms 2.0 Implementation
Hello
I'm a noob in html and web developpement but I know javascript.
I would like to export my form to an xml that could be then read to
refill the the form,
but I don't understand the mechanism behind this(also because english
is not my first laguage
and I'm totaly lost in the whatwg submission section), here is my
code:
----------------------------------
<form method="post"

action="[my script???]"

enctype="application/x-www-form+xml">

<input type="number" name="submit-name" required>

<input type="submit" value="Send" method="get">

</form>
----------------------------------
So am I write if I say that I must use a script in "action", if yes
could it be a simple javascript?
Is there a way to specify a path for the xml file ?
also I don't understand the interest of "enctype" if the script is
doing all the conversion job.

Thanks
A.

Weston Ruter

unread,
Jun 6, 2008, 1:58:48 AM6/6/08
to webf...@googlegroups.com
Ahmidou, the enctype of "application/x-www-form+xml" is not supported by this implementation, and unfortunately it appears to be impossible to implement using plain cross-browser JavaScript.

Best of luck.
Weston

Ahmidou

unread,
Jun 17, 2008, 11:12:48 AM6/17/08
to Web Forms 2.0 Implementation
Ok I finaly made a Python script to export it
Thanks

On 6 juin, 07:58, "Weston Ruter" <westonru...@gmail.com> wrote:
> Ahmidou, the enctype of "application/x-www-form+xml" is not supported by
> this implementation, and unfortunately it appears to be impossible to
> implement using plain cross-browser JavaScript.
> Best of luck.
> Weston
>
Reply all
Reply to author
Forward
0 new messages