[thelist] ID vs name
Christian Heilmann
codepo8 at gmail.com
Thu Apr 14 18:06:43 CDT 2005
Are you also serving your XHTML pages as application/xml+xhtml and
thus block out all the MSIE users or are you "cheating" by serving
proper XHTML as text/html?
In short: If a "name" property is the only problem you have when it
comes to validation and you do not go through a processor (like XSLT)
to generate your pages, you do not really have a problem. Use
transitional and all is fine.
Following standards is necessary, following them down a cliff isn't.
On 4/14/05, BJ <bj at kickasswebdesign.com> wrote:
> In the xhtml specification "ID" is used where "name" used to be. Okay.
> But what happens if you're integrating someone else's form code snippets
> into a site, and they use "name" to specify the attribute? An example
> is the paypal "shopping cart" or "buy it now" code. If I use "name" my
> pages won't validate. But if I change "name" to "ID" what happens on
> the other end? Can I assume they're going to process either attribute
> the same way? or not? There are other examples of this, like the cartit
> shopping cart script, but at least with that one I can look in the code
> and maybe understand what it's doing there, since that's something I
> install on the server I'm using.
>
> Of course, I have a feeling I know what the answer is, and I hate to
> think I'm going to have to go back to writing to html 4.0 spec on pages
> where this happens . . .
>
> bj
>
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/
More information about the thelist
mailing list