W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2006

Question about RDF in XHTML 1.0

From: Luca Mascaro <info@lucamascaro.info>
Date: Mon, 20 Feb 2006 17:13:22 +0100
Message-ID: <f1be17e40602200813i1213e6c1rd36258fe6df8fada@mail.gmail.com>
To: public-rdf-in-xhtml-tf@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:20 UTC