title: Relative path reference to XML file in XSLT does not find elements
body: <p>I have two xml files containing elements in different languages. Their position in forders is the following:</p>
  
  <p><a href="https://i.stack.imgur.com/eu12O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eu12O.png" alt="Structure in package explorer"></a></p>
  
  <p>I want to load the value of certain  elements dynamically, according to the language that was previously selected and passed to the xsl document. Let's call it:</p>
  
  <pre><code>&lt;xsl:variable name="messagebundle_lang"&gt;lang1.xml&lt;/xsl:variable&gt;
  </code></pre>
  
  <p>I would like to do something like:</p>
  
  <pre><code>&lt;xsl:variable name="mainRoot"&gt;../xmlFiles/&lt;/xsl:variable&gt;
  &lt;xsl:variable name="root" select="string(concat($mainRoot, $messagebundle_lang))"&gt;&lt;/xsl:variable&gt;
  &lt;xsl:value-of select="document($root)/data/xml_element_1" /&gt;
  </code></pre>
  
  <p>This does work locally, but after deployment the elements that are loaded dynamically simply do not appear in the PDF that was generated based on <strong>test.xsl</strong>. I presume it is because of this:</p>
  
  <pre><code>../xmlFiles/
  </code></pre>
  
  <p>How could I include the path of the xml files? Can it be the problem of OS dependent path separator?</p>