![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Anyone done some work on any of these? I'd love to see your work if you have, no matter how crude. My head is swimming from trying to figure out XSLT and HTML formatting.
Personally I'd love to see something that looks as nice as the standard PDF/Print Preview character sheet, but with all of the full descriptions on Edges/Powers and the like (my group has lots of custom stuff in there.) Trying to figure out how to do that formatting in Custom Output looks like it'll be a LOT of learning to do before I can really even start and I was hoping some others might have made some headway on this and be willing to share examples of at least their statblock.xsl files. Thanks for any help anyone might be able to throw into the ring! Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
![]() |
![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
So I guess I'll work on figuring this out, but I need some help. I've worked out more than a few things from the DTD and how to present them but there are some things I can't seem to get working and I'm wondering if anyone here might be able to help me with it.
I'll start off with trying to display Magic Items. I used the Gear entries to make this sort of work as a comma separated list. First off the lines telling it to display look like: Quote:
Quote:
Quote:
So from the DTD I can see that there is an ELEMENT entry for "magicitems" with a parenthetical list that includes "magicitem*" in it. Later there is another ELEMENT for "magicitem" with another parenthetical list that includes"description", for example. So it seems that description would not be an @description item, but something different and I don't see any good examples of stuff that is nested 3 deep instead of only 1 or 2 deep. Any ideas? Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
|||
![]() |
![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
I've been playing with this all day and apparently it took my posting here then playing with it just a tiny bit more to come up with one part of my answer.
It looks like on the line: Quote:
In the example in the post previous to this @enchantments is one of those but I still need to work out how to make that one work. enchantment/skillbonus/@name, for example? Presumably I'd have to work out some way to nest a list for items that have multiple skill bonuses/edges/powers. Yikes. Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
|
![]() |
![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
OK, here is what I have so far. It's very, very rough and needs a lot of formatting work, but this will print out a lot more information on a character than currently exists in the default custom output. I have a friend with a lot more experience working with XSLT so I'm hoping we can get some help there.
At any rate, this sheet is meant to show all of your "magic items" and gear along with the detailed descriptions, since I have several players who are both relatively unfamiliar with the SW rules and are horrible about looking them up, thus having it right in front of them will save us all a lot of time in play. I don't know how well it will work with things like Deadlands, Super Powers or Horror settings, but this is still in the baby-steps of trying to get this to work at all. Any tips/suggestions are more than welcome. https://app.dumptruck.goldenfrog.com/p/sxS5J4szsu The file itself is .rar format so just use something like WinRAR to open it and put it in your C:\ProgramData\Hero Lab\customoutput\savage folder. From there you should see it show up in Hero Labs when you go to File -> Save Custom Output... as "Full Character Sheet" Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
![]() |
![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Ok, I'm hoping someone will be able to help out with this...
I've taken a look at Altova's StyleVision (found at http://www.altova.com/solutions/xslt-tools.html, I'm using a 30-day trial) to see if I might be able to use that to design this sheet. I set it up so that the Schema it points to is C:\Program Data\Hero Lab\data\savage\docs\customoutput.dtd which works great and show up all the stuff in the little Schema tree it provides. I then set the "Workng XML" file to C:\Program Data\Hero Lab\customoutput\fullsheet_savage\output.xml, which give me an error about there not be a declaration in element "document" for attribute "signature". And finally I set the XSLT file to C:\Program Data\Hero Lab\customoutput\fullsheet_savage\statblock.xsl. I get no errors there, but it also doesn't show that layout on the Design pane, either. (EDIT: turns out it isn't able to use an existing xslt file to show you the output, only the one in it's format.) Anyone have a good idea on how I should be laying out files in a tool like this to work correctly? It seem like I've got the dtd file right, but maybe not the other ones? I'd definitely appreciate it if anyone has any experience doing this kind of thing and hopefully I can put together a sheet or two that might be halfway decent for folks before my trial expires (sorry, I don't intend to spend $130 for the product just for this one purpose.) Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) Last edited by zarlor; December 3rd, 2012 at 10:11 AM. |
![]() |
![]() |
Senior Member
Volunteer Data File Contributor
Join Date: Aug 2009
Posts: 1,512
|
I wish I could be more help on this, but my XML experience is a bit limited, and I have even less on XSLT.
|
![]() |
![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Thanks for the input at least. I'm still working on these some and plan to get back into it harder when I'm done with the HoER data file, but I think I'll have to hit the Pathfinder forum for it. They have a couple of sheets like this done and there has been some little bit of discussion on the tools used in the past, so some folks there might have some experience to help us out on these. If I'm really lucky I might even figure out how to do some of the checkbox stuff they've done on some of the sheets so you can just click a checkbox for things like if you want detailed Edge descriptions or just the short descriptions and such.
Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
![]() |
![]() |
Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 793
|
Yes Ancient One is the one to direct your questions to. His character sheet in Pathfinder in amazing.
![]() |
![]() |
![]() |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Agreed, but he's also using Java for it. And learning Java from scratch isn't something I look forward to. Unless the tools in Java make it easier than the very few tools I've found for XML. Something I'll ask around about after I finish the HoER file.
Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
![]() |
![]() |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
Quote:
Create a character with some items in Savage Worlds to test, then go to File -> Save Custom Output -> Generate XML File. Take the XML file that gets generated and use that for your "Working XML File" in Altova, and see if that works? |
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|