I am processing an XML document from within directory A in X (X -> A) using an XSLT stylesheet that uses the document() function to dynamically build a directory path to another XML document in N... this part works like a charm.
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.
warning: failed to load external entity "..
I am explicitly telling my xslt processor to process all my processing instructions relative to the initial XML document NOT the stylesheet by default.
What could I be doing wrong?
dir/
├── X
│ ├── A
│ │ ├── N
│ │ ├── O
│ │ ├── P
├── Y
│ ├── A
│ ├── B
│ ├── C
│ ├── D
│ ├── E
│ └── F
My XML files are chuncked up and I need to dynamically build node lists.
It turns out I had to explicitly pre-append file:/// to the complete file path of the xml file I was proc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With