# Template code for path to XML file in galley

**URL:** <https://forum.pkp.sfu.ca/t/template-code-for-path-to-xml-file-in-galley/64767>\
**Category:** Software Support\
**Tags:** ojs3, theme-development\
**Created:** [December 18, 2020, 10:19am UTC](https://forum.pkp.sfu.ca/t/template-code-for-path-to-xml-file-in-galley/64767 "2020-12-18T10:19:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![basD](https://forum.pkp.sfu.ca/letter_avatar/basd/32/5_5575768a8748004e209b776fc1b2916d.png) [@basD](https://forum.pkp.sfu.ca/u/basD)\
**Post date:** [December 18, 2020, 10:19am UTC](https://forum.pkp.sfu.ca/t/template-code-for-path-to-xml-file-in-galley/64767/1 "2020-12-18T10:19:39Z")

</div>

Hi, in my template on the article.tpl page I show the galleys of the article. If the galley contains a XML file, I would like to generate a link directly to the raw XML file. What template code must I use to get the path to that XML file?  
Thanks in advance!  
Gr Bas  
OJS 3.2.1.1
