DOAP rendered in XHTML through XSL
Answering to Danny's idea, you can find an XSL stylesheet that you can use to "convert" your DOAP file in a (valid) XHTML 1.1 document.
To do it, you can download Saxon, and run:
java -jar saxon.jar -o doap.html doap.rdf doap.xsl
And here you go.
An interesting question: how can you link the XHTML version to the RDF version. Add in top of your DOAP (just after the rdf:RDF) this piece of code:
<rdf:Description rdf:about=""> <dct:hasVersion dc:format="application/xhtml+xml" rdf:resource="URL of the XHTML version" /> </rdf:Description>
Verify that you have declared both of the DC terms XML namespace (http://purl.org/dc/terms) and the "standard" DC namespace (http://purl.org/dc/). NB that if you already have an <rdf:Description rdf:about=""> defined (if you used DOAP-a-matic, eg), you just need to insert the dct:Version line between the rdf:Description.

Commentaires
Aucun commentaire pour le moment.
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.