Re: GRRDL & CSS

Hi Danny,

Le jeu 26/08/2004 à 09:34, Danny Ayers a écrit :
> I was just re-reading the GRDLL doc [1] when I realised it didn't say
> anything about using arbitrary CSS to express semantics within XHTML,
> for later extraction with XSLT.

That's indeed one of the nice features of GRDDL applied to XHTML; note
that I think it's better seen the other way around; that is, classes and
ids in XHTML are supposed to be used to add semantics on top of the
markup, rather than simply be hooks for CSS; see 
""Use class with semantics in mind.
Think about why you want something to look a certain way, and not really
about how it should look. Looks can always change, but the reasons for
giving something a look stay the same.
""
http://www.w3.org/QA/Tips/goodclassnames

> This would lead me to think that in quite a few cases, where a company
> has in-house styling conventions, useful RDF/XML could be extracted
> from existing documents by leveraging the existing CSS.

Indeed.

> [1] http://www.w3.org/2004/01/rdxh/spec

(the latest version of GRDDL is at http://www.w3.org/TR/grddl/ FWIW)

> [2] http://semtext.org/2004-02/index.htm

Dom
-- 
Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:dom@w3.org

Received on Monday, 6 September 2004 08:57:37 UTC