And Gisle Aas writes:
-
- But what forms actaully have names?
The ones at Hotmail. ;) I'm working on a WWW::Mail proposal +
sample implementation. They reference the names through JavaScript
for various reasons, so I might as well use them.
- Looking at the HTML-4 spec it looks like picking up 'id' would make
- more sense.
I'm looking at http://www.w3.org/TR/html4/interact/forms.html#h-17.3 ,
and there's a CDATA-based name attribute to be used ``for scripting.''
Both name and id could be useful (and class?), and it doesn't seem to
hurt to add all three.
Jason, who really wishes there were a HTML::DOM (maybe on top of
HTML::Element?) that would play nice with XML::XPath...