- From: Robin Berjon <robin@berjon.com>
- Date: Fri, 18 Mar 2016 12:05:22 -0400
- To: Alf Eaton <eaton.alf@gmail.com>
- Cc: W3C Scholarly HTML CG <public-scholarlyhtml@w3.org>
On 18/03/2016 11:09 , Alf Eaton wrote:
> At PeerJ we use a single transformation[1] to convert JATS to HTML,
> starting similarly from a default div/span with class=the original
> element name, but have gradually added special cases where there are
> more appropriate elements, and then some later transformation on the
> parsed DOM document.
>
> [1] https://github.com/PeerJ/jats-conversion/blob/master/src/data/xsl/jats-to-html.xsl
That's very similar to the initial transformation we do:
https://github.com/scienceai/dejats/blob/master/src/index.js#L73
If at all possible I plan never to add to that but to have everything
happen in small transformation modules.
--
• Robin Berjon - http://berjon.com/ - @robinberjon
• http://science.ai/ — intelligent science publishing
•
Received on Friday, 18 March 2016 16:05:46 UTC