[jats-list] <ext-link> xlink:href vs text content

Subject: [jats-list] <ext-link> xlink:href vs text content
From: Alf Eaton <eaton.alf@xxxxxxxxx>
Date: Fri, 26 Jul 2013 15:59:11 +0100
When using the <ext-link> element, is it always the xlink:href
attribute that's used to build the external link, or can the text
contents of the element also be used?

For example, are any of these equivalent, or should they all use
xlink:href and not contain any text?

<ext-link ext-link-type="gen" xlink:href="X79290"/>
<ext-link ext-link-type="gen">X79290</ext-link>

<ext-link ext-link-type="doi" xlink:href="10.5061/dryad.km540"/>
<ext-link ext-link-type="doi">10.5061/dryad.km540</ext-link>

<ext-link ext-link-type="uri" xlink:href="http://www.wikipedia.org/"/>
<ext-link ext-link-type="uri">http://www.wikipedia.org/</ext-link>

use xlink:href in each example, but doesn't give processing
instructions, and the xlink:href attribute is optional.

If - as in the documentation example below - there is no text inside
the <ext-link> element, does that imply that the renderer should
display the contents of the xlink:href attribute?

(GenBank accession no. <ext-link ext-link-type="gen"
xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:href="Y18883"/>)


Current Thread