title: warning: failed to load external entity
body: <p>I am processing an XML document from within directory A in X (X -> A) using an XSLT stylesheet that uses the <strong>document()</strong> function to dynamically build a directory path to another XML document in N... this part works like a charm.</p>
  
  <p>The XML document in N further needs input from nodes in an XML document in (Y -> A); when I call my stylesheet, it returns the error below.</p>
  
  <p><strong>warning: failed to load external entity "..</strong></p>
  
  <p>I am explicitly telling my xslt processor to process all my processing instructions relative to the initial XML document <strong>NOT</strong> the stylesheet by default.</p>
  
  <p>What could I be doing wrong?</p>
  
  <pre><code>dir/
  ├── X
  │   ├── A
  │   │   ├── N
  │   │   ├── O
  │   │   ├── P
  ├── Y
  │   ├── A
  │   ├── B
  │   ├── C
  │   ├── D
  │   ├── E
  │   └── F
  </code></pre>
  
  <p>My XML files are chuncked up and I need to dynamically build node lists.</p>