jimlunde
August 3rd, 2011, 23:56
I have spent significant time on the forums and have been able to parse the monsters from MM, MM2, MM3, MV, MVTttNV, OG, etc. None worked without errors, and I had to modify the scraped files to get them to parse correctly, but none-the-less, they are done.
Now I am working on powers and feats. I have scraped all the sources I want, but continually get errors during the parsing process due to xml non-conformity. I can find the error in the .xml file and fix them, but when I reparse, it re-creates a new .xml file and include the errors again. I cannot fix the original text files because the .xml tags don't exist in them.
A workaround was to step through (over and over again for every error) the scraped .txt files and remove every power that errored (the majority of which were powers with secondary attacks), put them in a seperate file, and do it until it parsed correctly. This is very time consuming since there could be 10-20 errors for every file, or more.
My question is; Is there a way to turn a .xml file into a mod file?
If I reparse, it starts with the scraped .txt file, turns it into a .xml file, then turns that into the .mod file. I simply want to convert the "corrected" .xml file into a mod file without starting with the scraped .txt files.
I hope this isn't too confusing. Thanks in advance for any input.
Now I am working on powers and feats. I have scraped all the sources I want, but continually get errors during the parsing process due to xml non-conformity. I can find the error in the .xml file and fix them, but when I reparse, it re-creates a new .xml file and include the errors again. I cannot fix the original text files because the .xml tags don't exist in them.
A workaround was to step through (over and over again for every error) the scraped .txt files and remove every power that errored (the majority of which were powers with secondary attacks), put them in a seperate file, and do it until it parsed correctly. This is very time consuming since there could be 10-20 errors for every file, or more.
My question is; Is there a way to turn a .xml file into a mod file?
If I reparse, it starts with the scraped .txt file, turns it into a .xml file, then turns that into the .mod file. I simply want to convert the "corrected" .xml file into a mod file without starting with the scraped .txt files.
I hope this isn't too confusing. Thanks in advance for any input.