Darren Wood wrote:
Is the 'name' attribute depreciated in XHTML1.0 strict? If so how do i get around the fact the PHP only processes raw post data if its passed using the name atribute. Does anyone know how to get PHP to play ball?

For form controls (but not the FORM itself) name is still a valid attribute, even in XHTML 1.1


In the XHTML 1.0 strict DTD, under the form section, it even says in a comment for inputs:

"the name attribute is required for all but submit & reset"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

If you look at the changes of XHTML 1.1 from 1.0 strict, the second note states

"2. On the a and map elements, the name attribute has been removed in favor of the id attribute."

http://www.w3.org/TR/xhtml11/changes.html#a_changes

So, no change there...name has not been *deprecated* (if in doubt, create a small test page and yank it through the validator).

> Replies off list would be better as this post is border-line OT.

Well, it *does* concerns standards, so I'd say it's ok...

--
Patrick H. Lauke
_____________________________________________________
re�dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to