transpect / jats2html Goto Github PK
View Code? Open in Web Editor NEWXProc library and XSLT stylesheets to convert JATS to HTML
License: BSD 2-Clause "Simplified" License
XProc library and XSLT stylesheets to convert JATS to HTML
License: BSD 2-Clause "Simplified" License
I am trying to convert a JATS-XML to HTML. While running the following command no error/output. Just the cursor blinking on the same line. Correct me what I am doing wrong.
command:
./calabash/calabash.sh -o result=output.html jats2html/xpl/jats2html.xpl file=input.xml
catalog.xml
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<nextCatalog catalog="../jats2html/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../cascade/xmlcatalog/catalog.xml"/>
<nextCatalog catalog="../xproc-util/xmlcatalog/catalog.xml"/>
</catalog>
Folders:
calabash
cascade
xproc-util
xmlcatalog
input.xml
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "jpdtd/journalpublishing.dtd"><article article-type="research-article" dtd-version="1.0" xml:lang="en" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><front><journal-meta><journal-id journal-id-type="pmc">emj</journal-id><journal-id journal-id-type="pubmed">EMJ</journal-id><journal-id journal-id-type="publisher">EMJ</journal-id><issn>59-8138</issn><publisher><publisher-name>EMJ</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="other">pg880</article-id><article-id pub-id-type="pmid">738</article-id><article-categories><subj-group><subject>Primary care</subject><subj-group><subject>190</subject><subject>10</subject><subject>218</subject><subject>219</subject><subject>355</subject><subject>357</subject></subj-group></subj-group></article-categories><title-group><article-title>Issues of length and context</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Freeman</surname><given-names>George</given-names></name><role>professor</role><xref ref-type="aff" rid="aff-a"/></contrib></contrib-group><aff id="aff-a">Technology and Medicine, London</aff><author-notes></author-notes><pub-date pub-type="pub" publication-format="print" iso-01-date="20120413"><day>13</day><month>4</month><year>2012</year></pub-date><volume>124</volume><issue>342</issue><fpage>180</fpage><lpage>282</lpage><history><date date-type="accepted" iso-8601-date="20130207"><day>7</day><month>2</month><year>2013</year></date></history></article-meta></front><body><p>We report on the outcome of extensive debate among a group of general practitioners with an interest in the process of care, with reference to the interim findings of the commissioned systematic review and our personal databases. The review identified 14 relevant papers.<boxed-text><sec><title>Summary points</title><p><list list-type="bullet"><list-item><p>Longer consultations are associated with a range of better patient outcomes</p></list-item><list-item><p>Modern consultations in general practice deal with patients with more serious and chronic conditions</p></list-item></list></p></sec></boxed-text></p></body><back><ack><p>We thank the other members of the working group: Susan Childs, Paul Freeling, Iona Heath, Marshall Marinker, and Bonnie Sibbald. We also thank Fenny Green of the Royal College of General Practitioners for administrative help.</p></ack><fn-group><fn><p>Competing interests: None declared.</p></fn></fn-group></back></article>
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.