Re: WF2, attach hidden xml

Good day, Bruce.
Excuse me for a long break.

>> that <input type="hidden" name="a" value="b"> is particular case of
>>  <hidden>
>>    <field name="a">b</field>
>>  <hidden>

BB> There is nothing intrinsically wrong with <input type="hidden">

BB> (1) Use a new element, say <hidden>,
BB> and keep <input type="hidden"> simple name/value pairs

When general case already exists,
existance itself of particular case is wrong.

BB> and it is well entrenched in HTML

Through what rival, alternative solution it entrenched?
Please, list.

BB>  and used on millions of pages.

Abolishment means "not-recommended".

BB> It is not a productive step.

Why ? Compare with other items, not-recommended now.

BB> (2) Use a new element, say <hidden>, and deprecate <input type="hidden">
BB> Option (2) I think is out of the question.

I'd like to deprecate.
It's my passion to classification and unification.

BB> <head>
BB>   <title>Forms submission with data</title>
BB>   <data name="mydata">Some JSON/XML data goes in here.</data></head>
BB> <body>
BB>   <form>
BB>     <input type="hidden" name="somedata" source="mydata" />
BB>     <input type="submit" name="submit" value="Submit data" />
BB>   </form>
BB> </body>

This example is not into topic, because general line is not traceable there:
content of "mydata" is not _tree of tags_.

Dmitry Turin

Received on Thursday, 21 June 2007 05:21:22 UTC