Aliester, on 18 August 2011 - 12:49 AM, said:
So I picked up this thf
xml from the spellcast thread in BG and cant for the life of me get it to run. Every time I try to load it, it just says "SpellCast: XML Parsing Error: line 0 - Failed to open file" and "Your document failed to load. Please view the error above, and once it is corrected type /sc reload"
Now, I am a total newbie when it comes to making xmls and cant really do much beyond plugging in my own gear... I had a similar issue with getting my current blu xml to load, but it always said the specific line where the error was so I could just go to that line and change whatever was wrong. The problem with this error is that it says line 0, and I have no idea what that means...
Thanks in advance to anyone who can help me solve this issue

The code you are using calls on an include
<xi:include href="includes.xml" xpointer="/includes/include[@name='EleStaffConst']/*" />
Since that file does not exist for you it is generating the line 0 error.
You can delete the line but no promises other stuff will work for I do not know what the include contained.
Best bet is to remove that line since getting your hands on a copy of the includes.xml is relatively impossible.
Hence I don't know why people that post code on the wiki for examples either don't remove the include statements or post the includes with their XML post.
Like I stated , remove that line and see if it works. But likely it will be missing a variable or call and result in another error.