[oXygen-user] WebHelp output from JATS/BITS source?

Eliot Kimber ekimber at contrext.com
Wed Mar 14 17:41:07 CDT 2018


Some time ago I created an experimental JATS-to-DITA transform for a client. It wasn’t that hard but it did use DITA for Publishers elements to capture all the JATS stuff that reflects publishing details for which out-of-the-box DITA does not have direct support.

 

Unfortunately because this was for a client of a former employer I don’t think I can share it but I can say that the transform is only about 300 lines, although I’m not sure how complete it is. It looks like it was just trying to handle single journal articles, rather than a more complete book.

 

But I wouldn’t image something to handle complete JATS books would be that much harder. Looking at the code now it’s mostly about mapping the JATS metadata to DITA metadata and then just mapping the content elements and structures to maps and topics, which is a pretty direct mapping. 

 

Here's an example template:

 

  <xsl:template match="mixed-citation |
    person-group |
    string-name |
    surname |
    given-names |
    article-title |
    volume |
    year |
    issue |
    source |
    lpage |
    fpage |
    elocation-id |
    publisher-name |
    edition |
    etal |
    conf-name |
    conf-date |
    comment |
    month |
    publisher-loc |
    uri |
    xxxx
    ">
    <ph outputclass="{name(.)}"><xsl:apply-templates/></ph>
  </xsl:template>

 

It’s definitely something that could be reimplemented pretty quickly.

 

Cheers,

 

Eliot 

 

--

Eliot Kimber

http://contrext.com

 

 

From: oXygen-user <oxygen-user-bounces at oxygenxml.com> on behalf of "oXygen XML Editor Support (Ionela Istodor)" <support at oxygenxml.com>
Date: Wednesday, March 14, 2018 at 4:48 AM
To: "Lizzi, Vincent" <Vincent.Lizzi at taylorandfrancis.com>, "oxygen-user at oxygenxml.com" <oxygen-user at oxygenxml.com>
Subject: Re: [oXygen-user] WebHelp output from JATS/BITS source?

 

Hello,

Unfortunately, with current implementation it is not possible to publish JATS/BITS to WebHelp output.
I have logged your feedback as an improvement request in our issue tracking tool.

Regards,
Ionela

--
Ionela Istodor
oXygen XML Editor and Author Support
 
Tel: +1-650-352-1250 ext.301
Fax: +40-251-461482
support at oxygenxml.com
http://www.oxygenxml.com
 
 
---------------------------------------------------------------------------
This message (including any attachments) contains confidential information and is intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Any quotation contained herein has a validity of 30 days, unless otherwise specified. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
On 3/14/2018 12:45 AM, Lizzi, Vincent wrote:

The oXygen WebHelp feature produces very good web presentations based on source documents in DITA or DocBook format. I have some documentation that was created in BITS format (which is based on JATS) which I would like transform into HTML using oXygen’s WebHelp transformation. Also, since I am working with the JATS format quite often I would like to be able to write my documentation in JATS format and use oXygen’s WebHelp rendering to produce an HTML version. 

 

So my question is, what would need to be done in order to produce WebHelp output from JATS or BITS? Can the WebHelp transformation be extended to use a different XML format as input, or would it be easier to transform JATS to DITA or DocBook and then run the WebHelp transformation? Or, is this so non-trivial that it should be a feature request for oXygen?

 

Thanks,

Vincent

 

 

Vincent M. Lizzi - Electronic Production Manager

Taylor & Francis Group 

530 Walnut St., Suite 850, Philadelphia, PA 19106

E-Mail: vincent.lizzi at taylorandfrancis.com

Phone: 215-606-4221

Fax: 215-207-0047

Web: http://www.tandfonline.com/

 

Taylor & Francis is a trading name of Informa UK Limited,

registered in England under no. 1072954

 

"Everything should be made as simple as possible, but not simpler."

 




_______________________________________________
oXygen-user mailing list
oXygen-user at oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

_______________________________________________ oXygen-user mailing list oXygen-user at oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20180314/8c3479e3/attachment.html>


More information about the oXygen-user mailing list