RDF/XML to RDFa/Microdata stylesheet

Attached is the XSL Stylesheet I use to convert RDF/XML into RDFa 1.1
Lite for inclusion in WorldCat.org. 

 

There are also some comment-out traces from when I was generating
redundant Microdata markup in the past. I commented it out because there
is no reason to support both and RDFa 1.1 Lite has won the war, IMO.

 

If somebody wants to convert in the other direction, I recommend 
http://www.w3.org/2012/pyRdfa/#distill_by_input or a downloadable tool
like pyRdfa. I'm sure there are others. I think I heard someone mention
a PHP tool for converting Microdata, but I'm not familiar with it.

 

Jeff

 

---

Jeffrey A. Young
Software Architect
OCLC Research, Mail Code 410
OCLC Online Computer Library Center, Inc.
6565 Kilgour Place
Dublin, OH 43017-3395
www.oclc.org <http://www.oclc.org> 

Voice: 614-764-4342
Voice: 800-848-5878, ext. 4342
Fax: 614-718-7477
Email: jyoung@oclc.org <mailto:jyoung@oclc.org> 

 

Received on Thursday, 29 November 2012 18:18:32 UTC