Content Compare JATS is a simple REST API for comparison of JATS content. Our sophisticated algorithms analyse how your content has changed between revisions, in the context of the structure of one version.

The result is input document 'B' with Oxygen Track Changes markup explaining text-only differences from input 'A'. There is also a HTML output available with changes highlighted in red and green.

Example of JATS comparison

Input A

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d1 20130915//EN" "JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d1" xml:lang="en"
  xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <body>
    <p>First JATS paragraph. Second Merged JATS paragraph  <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>Research on implementation is needed</p>
              </list-item>
            </list>
          </p>
        </sec>
      </boxed-text>
    </p>
  </body>
</article>
CODE

Input B

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d1 20130915//EN" "JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d1" xml:lang="en"
  xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <body>
    <p>First JATS paragraph. </p>
    <p>Second JATS paragraph <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>Research on implementation is needed</p>
              </list-item>
            </list>
          </p>
        </sec>
      </boxed-text>
    </p>
  </body>
</article>
CODE

Result

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d1 20130915//EN" "JATS-journalpublishing1.dtd">
<article article-type="research-article" dtd-version="1.1d1" xml:lang="en">
    <body>
        <p>First JATS paragraph. </p>
        <p>Second 
            <?oxy_delete author="deltaxml" timestamp="20220613T160842+0100" content="Merged "?>JATS paragraph 
            <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>Research on implementation is needed</p>
                            </list-item>
                        </list>
                    </p>
                </sec>
            </boxed-text>
        </p>
    </body>
</article>
CODE