dreamdancer Posted January 13, 2018 Share Posted January 13, 2018 Kinda looking to do some mass/repeatable modifications to xmls, and wondering if anyone has already written an effective xslt for importing the files into a spreadsheet and back out again for Excel or OpenOffice. I will do it myself if no one has done so yet, but tbh I am a little clueless when it comes to spreadsheets and if someone else has already done so it would be easier to not reinvent the wheel. My genius coder housemate is suggesting I just write a PerlScript but that would require actually learning Perl. Lol. Link to comment Share on other sites More sharing options...
Guppycur Posted January 14, 2018 Share Posted January 14, 2018 Sounds convoluted. What's the end goal? Link to comment Share on other sites More sharing options...
dreamdancer Posted January 14, 2018 Author Share Posted January 14, 2018 Functionally the same as this: https://7daystodie.com/forums/showthread.php?56533-Gamestage-Blood-Moon-Horde-generator only more generalized. Having a bunch of properties all spread out in tables so one can go through and play with values without scrolling around through the xml. Shrug. I've ended up doing a lot of what I'd been planning to use it for by hand, but the ability to slurp up all the properties in an xml and have them all in front of you in a handy spreadsheet feels really useful. Idk. Link to comment Share on other sites More sharing options...
Guppycur Posted January 14, 2018 Share Posted January 14, 2018 Yeh that's what I had in mind when you posted the question, but considering the likelihood of large scale changes to the xml's with a17, it might not be a project worth doing. <shrug> ...but if you do one, share. =) Link to comment Share on other sites More sharing options...
dreamdancer Posted January 15, 2018 Author Share Posted January 15, 2018 I've found myself slowly growing accustomed to the headache of scrolling back and forth through Notepad++, and you are right about A17. I may do it down the line, but for now its back burner. Link to comment Share on other sites More sharing options...
StompyNZ Posted January 15, 2018 Share Posted January 15, 2018 depends which xmls you are looking at. blocks and items etc are easy because they use dynamic properties exclusively, which means it has a fixed format (name, value, param1, param2 || class with sub properties). Other files are a real maze and dont have a structure capable of being coded in a spreadsheet (xui stuff for example) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.