W3C home > Mailing lists > Public > public-grddl-wg@w3.org > April 2007

Re: hGRRDL for hCard: test case of a GRDDL transformation to produce RDFa from hCards

From: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>
Date: Thu, 19 Apr 2007 13:44:51 +0200
Message-ID: <46275633.2060107@sophia.inria.fr>
To: Jeremy Carroll <jjc@hpl.hp.com>
CC: GRDDL Working Group <public-grddl-wg@w3.org>, public-rdf-in-xhtml-tf@w3.org

Jeremy Carroll a écrit :
> I take it you mean
> http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCard.html 
>
> as the first file.
You are right:

Input file:
http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCard.html

Transformation (hCard to hCard+RDFa):
http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCard2RDFa.xsl

Output file:
http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCardRDFa.html

Transformation (hCard+RDFa to RDF/XML):
http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML_v_0_7.xsl

Second output file:
http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCardRDFXML.rdf

> a) in RDFa2RDFXML.xsl
> change media-type of output from text/plain to application/rdf+xml i.e.
> <xsl:output indent="yes" method="xml" media-type="application/rdf+xml" 
> encoding="UTF-8" omit-xml-declaration="yes"/>
Good point ; done in
http://www-sop.inria.fr/acacia/soft/RDFa2RDFXML_v_0_7.xsl
> b) in hCard2RDFa.xsl change media-type of output from text/plain to 
> text/html i.e.
> <output indent="yes" method="xml" media-type="text/html" 
> encoding="UTF-8" omit-xml-declaration="yes"/>
Good point ; done in:
http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCard2RDFa.xsl

Thanks.

-- 
Fabien - http://www.inria.fr/acacia/fabien/
Received on Thursday, 19 April 2007 11:50:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:48 GMT