Vitaliy-1 / JATSParser

JATSParser is aimed to be integrated with Open Journal Systems 3.0+ for transforming JATS XML to various formats
GNU General Public License v3.0
11 stars 21 forks source link

Hyperlinks to external uri inside JATS XML <p> tag #16

Closed gabeLon closed 4 years ago

gabeLon commented 4 years ago

Hi @Vitaliy-1 , I need to reference a supplementary file inside a JATS XML formatted article, which has also been published as a pdf galley. The only way I thought about doing so is by adding a hyperlink inside the corresponding

tag using an <ext-link> tag as shown below…

<p id="p-8fe1d0c07051">La estructura factorial de tres factores se mantuvo en la versión final del instrumento, con las siguientes características (ver <xref id="x-98099e9a5fef" rid="tw-6e408fb0f00d" ref-type="table">Table 2</xref> y <ext-link ext-link-type="uri" xlink:href="http://www.evidencia.org.ar/index.php/Evidencia/article/view/4253/1789">material complementario</ext-link>.</p>

…but this is not actually working, actually showing nothing (I mean the “material complementario” uri) when the XML renders.

If could add this feature, it would be great! Thanks

gabeLon commented 3 years ago

Several months later (needed time to learn how to cherry-pick your commit, but finally did!), works perfectly. Many thanks!!