failed to load external entity "Utilities/merge.xslt" #174
-
Hello, I am following the previous discussion #170 and am experiencing some issues I copied the required dlls and exes as per the guide. Running xsltproc -version in cmd returns: I downloaded and unzipped the data to D:\FightClub5eXML_Master This folder contains: D:\FightClub5eXML_Master\FightClub5eXML contains: This is the folder where I created an xml called Collection.xml and it contains the same text as your example in the readme:
(Sorry. I couldn't get this to preview correctly. But it is a copy and paste of the xml from the readme) Within cmd, I navigated to D:\FightClub5eXML_Master\FightClub5eXML and ran this command: xsltproc -o BuiltCollection.xml Utilities/merge.xslt Collection.xml and returned this message: I also copied the Complete.xml from your provided Collections folder to try that and changed the command line input to xsltproc -o BuiltCollection.xml Utilities/merge.xslt Complete.xml and it returned the same message as above Very much a newbie similar to the user in the previous discussion. Is there any assistance you can provide to get it working? Many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I changed my input command to contain the full path: xsltproc -o D:/FightClub5eXML_Master/FightClub5eXML/BuiltCollection.xml D:/FightClub5eXML_Master/Utilities/merge.xslt D:/FightClub5eXML_Master/FightClub5eXML/Collection.xml I then recieved this error message: warning: failed to load external entity "/FightClub5eXML_Master/FightClub5eXML/Sources/PlayersHandbook.xml" I took a look in that folder and those .xml files don't exist. I replaced the Collection.xml with the Complete.xml you provide and it seems to have worked correctly. I haven't imported it to the app just yet though. Have I misunderstood the readme? Am I missing something from the example and that's why the initial command did not work? Thanks |
Beta Was this translation helpful? Give feedback.
I changed my input command to contain the full path:
xsltproc -o D:/FightClub5eXML_Master/FightClub5eXML/BuiltCollection.xml D:/FightClub5eXML_Master/Utilities/merge.xslt D:/FightClub5eXML_Master/FightClub5eXML/Collection.xml
I then recieved this error message:
warning: failed to load external entity "/FightClub5eXML_Master/FightClub5eXML/Sources/PlayersHandbook.xml"
warning: failed to load external entity "/FightClub5eXML_Master/FightClub5eXML/Sources/DungeonMastersGuide.xml"
warning: failed to load external entity "/FightClub5eXML_Master/FightClub5eXML/Sources/MonsterManual.xml"
warning: failed to load external entity "/FightClub5eXML_Master/FightClub5eXML/Sources/PlayersHandbook.xml"
w…