Luca, We've focused purely on XHTML2 at this point, in particular since no complete solution seems possible within the current XHTML1 (apart from GRDDL [1], which we recommend you take a look at, too). That said, we *are* discussing the use of the CLASS and ROLE attributes in RDF/A [2]. The resulting triples would not be what you cite below however, since, in following the HTML guidelines, CLASS would likely define something like rdf:type, instead of a property of the current page. We hope that, once we've got the XHTML2 issues resolved, we will be able to think about how to use RDF/A in XHTML 1.1. The issues there aren't trivial, in particular with respect to validation. Hope this helps, and please feel free to send us more comments and thoughts, -Ben [1] http://www.w3.org/2004/01/rdxh/spec [2] http://www.w3.org/2001/sw/BestPractices/HTML/2005-current- issues#class On Feb 20, 2006, at 11:13 AM, Luca Mascaro wrote: > 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 SaglReceived on Monday, 20 February 2006 19:15:20 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:15:00 GMT