Changeset 7638

Show
Ignore:
Timestamp:
04/30/09 09:34:56 (15 months ago)
Author:
josowski
Message:

Annotating text of author contributions allows you to select text; when you click continue it brings up the old popup reading "this area of text cannot be notated".

This corrects the xpathlocation of author contributions.

References #1296

Location:
head/ambra/webapp/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/webapp/src/main/resources/viewnlm-v2.xsl

    r7632 r7638  
    14651465      <h3 xpathLocation="noSelect">Author Contributions</h3> 
    14661466      <p> 
     1467        <xsl:call-template name="makeXpathLocation" /> 
    14671468        <xsl:apply-templates select="../front/article-meta/author-notes/fn[@fn-type='con']"/> 
    14681469      </p> 
  • head/ambra/webapp/src/test/resources/article/result1.html

    r7637 r7638  
    6464<div xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:aml="http://topazproject.org/aml/" xmlns:d="http://purl.org/dc/elements/1.1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xpathLocation="noSelect"><a id="ack" name="ack" toc="ack" title="Acknowledgments"></a><h3 xpathLocation="noSelect">Acknowledgments&nbsp;<a href="#top">Top</a></h3> 
    6565<p xpathLocation="/article[1]/back[1]/ack[1]/p[1]">Acknowledge</p> 
    66 </div><div xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:aml="http://topazproject.org/aml/" xmlns:d="http://purl.org/dc/elements/1.1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" class="contributions"><h3 xpathLocation="noSelect">Author Contributions</h3><p><span class="capture-id">Conceived and designed the experiments: HM NG ED. ... </span></p></div><div xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:aml="http://topazproject.org/aml/" xmlns:d="http://purl.org/dc/elements/1.1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xpathLocation="noSelect"><a id="references" name="references" toc="references" title="References"></a><h3 xpathLocation="noSelect">References&nbsp;<a href="#top">Top</a></h3><ol class="references" xpathLocation="noSelect"><li xpathLocation="noSelect"><a name="pone.0002250-Suttle1" id="pone.0002250-Suttle1"></a><span class="authors">Suttle CA</span> (2005) Viruses in the sea. Nature  437: 356–361. <a class="find" href="test-context/article/findArticle.action?author=Suttle&title=Viruses in the sea."> 
     66</div><div xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:aml="http://topazproject.org/aml/" xmlns:d="http://purl.org/dc/elements/1.1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" class="contributions"><h3 xpathLocation="noSelect">Author Contributions</h3><p xpathLocation="/article[1]/back[1]"><span class="capture-id">Conceived and designed the experiments: HM NG ED. ... </span></p></div><div xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:aml="http://topazproject.org/aml/" xmlns:d="http://purl.org/dc/elements/1.1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xpathLocation="noSelect"><a id="references" name="references" toc="references" title="References"></a><h3 xpathLocation="noSelect">References&nbsp;<a href="#top">Top</a></h3><ol class="references" xpathLocation="noSelect"><li xpathLocation="noSelect"><a name="pone.0002250-Suttle1" id="pone.0002250-Suttle1"></a><span class="authors">Suttle CA</span> (2005) Viruses in the sea. Nature  437: 356–361. <a class="find" href="test-context/article/findArticle.action?author=Suttle&title=Viruses in the sea."> 
    6767              Find this article online 
    6868            </a></li><li xpathLocation="noSelect"><a name="pone.0002250-Suttle2" id="pone.0002250-Suttle2"></a><span class="authors">Bratbak G, Wilson W, Heldal M</span> (1996) Viral control of <i>Emiliania huxleyi</i> blooms? J Mar Systems  9: 75–81. <a class="find" href="test-context/article/findArticle.action?author=Bratbak&title=Viral control of Emiliania huxleyi blooms?">