Results 1 to 6 of 6

Thread: Query: Has anyone already written an xslt for reading 7d xmls?

  1. #1
    Tracker
    Join Date
    Jul 2017
    Posts
    221
    Rep Power
    1

    Query: Has anyone already written an xslt for reading 7d xmls?

    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.

  2. #2
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Houston-ish, Texas
    Posts
    17,385
    Rep Power
    1
    Sounds convoluted. What's the end goal?

  3. #3
    Tracker
    Join Date
    Jul 2017
    Posts
    221
    Rep Power
    1
    Functionally the same as this:

    https://7daystodie.com/forums/showth...orde-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.

  4. #4
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Houston-ish, Texas
    Posts
    17,385
    Rep Power
    1
    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. =)

  5. #5
    Tracker
    Join Date
    Jul 2017
    Posts
    221
    Rep Power
    1
    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.

  6. #6
    Colony Founder StompyNZ's Avatar
    Join Date
    Apr 2015
    Posts
    3,778
    Rep Power
    1
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •