- From: Dan Connolly <connolly@w3.org>
- Date: Fri, 11 Aug 2000 12:07:27 -0500
- To: Sean Palmer <sean_b_palmer@yahoo.com>
- CC: www-html@w3.org
Sean Palmer wrote: [...] > NEW "COMMENT" ATTRIBUTE > Here is a thought that has been exciting me for quite > a long time now; a new attribute in XHTML 1.1; > "comment". [...] > <hr style="color:green;" comment="was blue" /> With XHTML, you don't need to pray to the HTML Gods for new markup any more: you can Just Do It, as long as you use namespaces: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:util="**your identifier here***" > [...] <hr style="color:green;" util:comment="was blue" /> [...] </html> If other folks like your new markup idiom, they can use it too. If enough folks like it, maybe the HTML Gods will standardize it someday. But meanwhile, we can all get our jobs done. I worked this example out in detail, using XML Schemas and everything. Take a look: Extending HTML with your own Comment attribute http://www.w3.org/XML/2000/04schema-hacking/comment-test.html http://www.w3.org/XML/2000/04schema-hacking/comment.xsd http://www.w3.org/XML/2000/04schema-hacking/html.xsd schema validation results: http://www.w3.org/2000/06/webdata/xsv?docAddrs=http%3A%2F%2Fwww.w3.org%2FXML%2F2000%2F04schema-hacking%2Fcomment-test.html+http%3A%2F%2Fwww.w3.org%2FXML%2F2000%2F04schema-hacking%2Fcomment.xsd&style=offline -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 11 August 2000 13:09:48 UTC