title: XML Parsing Error: mismatched tag. Expected: </link>
body: <p>I am running XSL file in eclipse by inputting XML file.I clearly see there is  which was closed in the XSL file.I checked the other tags as well but it seems well-defined. Can you please help me in resolving this error. I have given the files I used below:
      1. XML file which has reference to XSL as below:
      
      2. XSL file which has relevant info as below:
      
      
      3. jats-preview.css file used
      4. overlib.js referenced
      5. tooltip.css referenced</p>
  
  <pre><code>I have included the code snippets used.
  
  Thanks.
  
  
  <div class="snippet" data-lang="js" data-hide="true">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
      &lt;!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "http://jats.nlm.nih.gov/archiving/1.0/JATS-archivearticle1.dtd"[]&gt;
      &lt;?xml-stylesheet type='text/xsl' href='jats-html.xsl'?&gt;
      &lt;article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article"&gt;&lt;?properties open_access?&gt;</code></pre>
  </div>
  </div>
  
  
  <div class="snippet" data-lang="js" data-hide="true">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!-- XSL file --&gt;
  
      &lt;?xml version="1.0"?&gt;
      &lt;xsl:stylesheet version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        xmlns:mml="http://www.w3.org/1998/Math/MathML"
        exclude-result-prefixes="xlink mml"&gt;
  
        &lt;xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
          doctype-system="http://www.w3.org/TR/html4/loose.dtd"
          encoding="UTF-8"/&gt;
  
        &lt;xsl:strip-space elements="*"/&gt;
  
        &lt;!-- Space is preserved in all elements allowing #PCDATA --&gt;
        &lt;xsl:preserve-space
          elements="abbrev abbrev-journal-title access-date addr-line
                    aff alt-text alt-title article-id article-title
                    attrib award-id bold chapter-title chem-struct
                    collab comment compound-kwd-part compound-subject-part
                    conf-acronym conf-date conf-loc conf-name conf-num
                    conf-sponsor conf-theme contrib-id copyright-holder
                    copyright-statement copyright-year corresp country
                    date-in-citation day def-head degrees disp-formula
                    edition elocation-id email etal ext-link fax fpage
                    funding-source funding-statement given-names glyph-data
                    gov inline-formula inline-supplementary-material
                    institution isbn issn-l issn issue issue-id issue-part
                    issue-sponsor issue-title italic journal-id
                    journal-subtitle journal-title kwd label license-p
                    long-desc lpage meta-name meta-value mixed-citation
                    monospace month named-content object-id on-behalf-of
                    overline p page-range part-title patent person-group
                    phone prefix preformat price principal-award-recipient
                    principal-investigator product pub-id publisher-loc
                    publisher-name related-article related-object role
                    roman sans-serif sc season self-uri series series-text
                    series-title sig sig-block size source speaker std
                    strike string-name styled-content std-organization
                    sub subject subtitle suffix sup supplement surname
                    target td term term-head tex-math textual-form th
                    time-stamp title trans-source trans-subtitle trans-title
                    underline uri verse-line volume volume-id volume-series
                    xref year
                    mml:annotation mml:ci mml:cn mml:csymbol mml:mi mml:mn 
                    mml:mo mml:ms mml:mtext"/&gt;
  
        
        &lt;xsl:param name="transform" select="'jats-html.xsl'"/&gt;
  
        &lt;xsl:param name="css" select="'jats-preview.css'"/&gt;
        
        &lt;xsl:param name="report-warnings" select="'no'"/&gt;
        
        &lt;xsl:variable name="verbose" select="$report-warnings='yes'"/&gt;
        
        &lt;!-- Keys --&gt;
  
        &lt;!-- To reduce dependency on a DTD for processing, we declare
             a key to use instead of the id() function. --&gt;
        &lt;xsl:key name="element-by-id" match="*[@id]" use="@id"/&gt;
  
        &lt;!-- Enabling retrieval of cross-references to objects --&gt;
        &lt;xsl:key name="xref-by-rid" match="xref" use="@rid"/&gt;
        
        &lt;!-- ============================================================= --&gt;
        &lt;!--  ROOT TEMPLATE - HANDLES HTML FRAMEWORK                       --&gt;
        &lt;!-- ============================================================= --&gt;
  
        &lt;xsl:template match="/"&gt;
          &lt;html&gt;
            &lt;!-- HTML header --&gt;
            &lt;xsl:call-template name="make-html-header"/&gt;
            &lt;body&gt;
              &lt;xsl:apply-templates/&gt;
            &lt;/body&gt;
          &lt;/html&gt;
        &lt;/xsl:template&gt;
  
  
        &lt;xsl:template name="make-html-header"&gt;
          &lt;head&gt;
            &lt;title&gt;
              &lt;xsl:variable name="authors"&gt;
                &lt;xsl:call-template name="author-string"/&gt;
              &lt;/xsl:variable&gt;
              &lt;xsl:value-of select="normalize-space(string($authors))"/&gt;
              &lt;xsl:if test="normalize-space(string($authors))"&gt;: &lt;/xsl:if&gt;
              &lt;xsl:value-of
                select="/article/front/article-meta/title-group/article-title[1]"/&gt;
            &lt;/title&gt;
            &lt;link rel="stylesheet" type="text/css" href="{$css}"/&gt;
            &lt;!-- XXX check: any other header stuff? XXX --&gt;
          &lt;/head&gt;
        &lt;/xsl:template&gt;
  
  
      &lt;!-- ============================================================= --&gt;
      &lt;!--  TOP LEVEL                                                    --&gt;
      &lt;!-- ============================================================= --&gt;
  
        &lt;!--
            content model for article:
               (front,body?,back?,floats-group?,(sub-article*|response*))
            
            content model for sub-article:
               ((front|front-stub),body?,back?,floats-group?,
                (sub-article*|response*))
            
            content model for response:
               ((front|front-stub),body?,back?,floats-group?) --&gt;
        
        &lt;xsl:template match="article"&gt;
          &lt;xsl:call-template name="make-article"/&gt;
        &lt;/xsl:template&gt;
  
        &lt;xsl:template match="sub-article | response"&gt;
          &lt;hr class="part-rule"/&gt;
          &lt;xsl:call-template name="make-article"/&gt;
        &lt;/xsl:template&gt;
  
  
      &lt;!-- ============================================================= --&gt;
      &lt;!--  "make-article" for the document architecture                 --&gt;
      &lt;!-- ============================================================= --&gt;
  
        &lt;xsl:template name="make-article"&gt;
          &lt;!-- Generates a series of (flattened) divs for contents of any
              article, sub-article or response --&gt;
  
          &lt;!-- variable to be used in div id's to keep them unique --&gt;
          &lt;xsl:variable name="this-article"&gt;
            &lt;xsl:apply-templates select="." mode="id"/&gt;
          &lt;/xsl:variable&gt;
  
          &lt;div id="{$this-article}-front" class="front"&gt;
            &lt;xsl:apply-templates select="front | front-stub"/&gt;
          &lt;/div&gt;
  
          &lt;!-- body --&gt;
          &lt;xsl:for-each select="body"&gt;
            &lt;div id="{$this-article}-body" class="body"&gt;
              &lt;xsl:apply-templates/&gt;
            &lt;/div&gt;
          &lt;/xsl:for-each&gt;
  
          &lt;xsl:if test="back | $loose-footnotes"&gt;
            &lt;!-- $loose-footnotes is defined below as any footnotes outside
                 front matter or fn-group --&gt;
            &lt;div id="{$this-article}-back" class="back"&gt;
              &lt;xsl:call-template name="make-back"/&gt;
            &lt;/div&gt;
          &lt;/xsl:if&gt;
  
          &lt;xsl:for-each select="floats-group | floats-wrap"&gt;
            &lt;!-- floats-wrap is from 2.3 --&gt;
            &lt;div id="{$this-article}-floats" class="back"&gt;
              &lt;xsl:call-template name="main-title"&gt;
                &lt;xsl:with-param name="contents"&gt;
                  &lt;span class="generated"&gt;Floating objects&lt;/span&gt;
                &lt;/xsl:with-param&gt;
              &lt;/xsl:call-template&gt;
              &lt;xsl:apply-templates/&gt;
            &lt;/div&gt;
          &lt;/xsl:for-each&gt;
  
          &lt;!-- more metadata goes in the footer --&gt;
          &lt;div id="{$this-article}-footer" class="footer"&gt;
            &lt;xsl:call-template name="footer-metadata"/&gt;
            &lt;xsl:call-template name="footer-branding"/&gt;
          &lt;/div&gt;
  
          &lt;!-- sub-article or response (recursively calls
             this template) --&gt;
          &lt;xsl:apply-templates select="sub-article | response"/&gt;
  
        &lt;/xsl:template&gt;
  
  
      &lt;!-- ============================================================= --&gt;
      &lt;!--  End stylesheet                                               --&gt;
      &lt;!-- ============================================================= --&gt;
  
      &lt;/xsl:stylesheet&gt;</code></pre>
  </div>
  </div>
  
  </code></pre>