Re: Early draft is up

+1 to Alf and Robin on this.
Including the use of repeated small transformations.

For interest (and perhaps offline) were these tools developed on the
totality of JATS found in the wild or restricted to the output of certain
JATS-authoring tools?



On Fri, Mar 18, 2016 at 4:05 PM, Robin Berjon <robin@berjon.com> wrote:

> 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
> •
>
>


-- 
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069

Received on Sunday, 20 March 2016 23:20:34 UTC