W3C home > Mailing lists > Public > www-html@w3.org > January 2002

Posting XML

From: Flavio Eduardo de Córdova <flavio_cordova@hotmail.com>
Date: Thu, 17 Jan 2002 09:05:27 -0200
To: <www-html@w3.org>
Message-ID: <OE38cM3oryKFRJrzdDW000014d7@hotmail.com>
Hi, people...

    I'm not that expert on HTML but I think it's not possible to browsers
post form data in XML format, unless you have scripts to do that, right ?
Wouldn't it be useful if you were able to specify an ENCTYPE like
"text/xml", for example, to post data ?

Here a suggestion of a form and how it could be posted to the server:

<FORM name="Customer" ENCTYPE="text/xml">
    <INPUT type="text" name="Id">
    <INPUT type="text" name="Name">
    <INPUT type="submit" name="action">

    <Name>My Company Inc.</Name>

I think this kind of encoding could help those who have to integrate systems
using XML, specially those who's already using XLS to format data in HTML
but can't get them back easily... By the way, it might be interesting if you
could define a XSL file to make some transformation before posting the XML.
Received on Thursday, 17 January 2002 06:07:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:58 UTC