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

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 UTC