Re: Early draft is up

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