RE: XHTML Invalidity / WML2 / New XHTML 1.1 Attribute

Rowland Shaw:

> I guess that's when a standard comment would suffice??

No. Standard comments are just floating around with no clear relation
to the various elements in the page. Compare:

  <img src="bluemoon.gif" />
  <img src="greencheese.gif" comment="replace with better image when X delivers" />
  <img src="blackbird.gif" comment="This image has been approved by the boss" />
  <img src="whitesnow.gif" />

and

  <img src="bluemoon.gif" />
  <!-- replace with better image when X delivers -->
  <img src="greencheese.gif" />
  <!-- This image has been approved by the boss -->
  <img src="blackbird.gif" />
  <img src="whitesnow.gif" />

"This image"? Which image? How much clearer and more convenient with
comment attributes!

And then, in XHTML used as XML, applications can be made to _act_
upon the content of comment attributes!

#####################################################################
                          Bertilo Wennergren
                  <http://purl.oclc.org/net/bertilo>
                      <bertilow@hem.passagen.se>
#####################################################################

Received on Friday, 11 August 2000 09:38:28 UTC