Question about RDF in XHTML 1.0

Hi all,
just a question: have you considered the possibility to use class
attribute for embedding RDF in XHTML 1.0 or 1.1?

For example:

<html xmlns:dc="http://purl.org/dc/elements/1.1/">
  <head>
    <title>Document</title>
  </head>
  <body>
    <p><cite class="dc:author">Luca Mascaro</cite> is a user interface
developer.</p>
..</body>
</html>

The CSS 3.0 specification introduce the namespace in CSS and I think
that the definition of class attribute in the HTML 4.01 specification
allow this use:

The class attribute, on the other hand, assigns one or more class
names to an element; the element may be said to belong to these
classes. A class name may be shared by several element instances. The
class attribute has several roles in HTML:

* As a style sheet selector (when an author wishes to assign style
information to a set of elements).
* For general purpose processing by user agents.

Regards

--
Luca Mascaro
CTO Phiware Engineering Sagl

Received on Monday, 20 February 2006 16:13:31 UTC