Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Lord Inar
Junior Member
 
Join Date: Jan 2012
Posts: 12

Old December 30th, 2013, 10:01 AM
I really like the custom HTML ouptut, but the derived traits do not show up.
I tried using the same format to replace the picture (fourth column)...

(td)(ul class="traits")
(xsl:apply-templates select="traits/trait"/)
(/ul)(/td)
(/tr)(/table)

...but it didn't work (nothing new showed up).
I thought derived traits were referred to as traits, so I'm not sure why this doesn't work.

- Marc

Obviously replace all "(" and ")" with "<" and ">" respectively.

Last edited by Lord Inar; December 30th, 2013 at 10:09 AM.
Lord Inar is offline   #1 Reply With Quote
Lord Inar
Junior Member
 
Join Date: Jan 2012
Posts: 12

Old December 30th, 2013, 10:07 AM
... I verified the name was the same in the customoutput.dtd file and it looks like it is:

"<"!ELEMENT traits ((trait*))">"
"<"!ELEMENT trait EMPTY">"
"<"!ATTLIST trait
name CDATA #REQUIRED
value CDATA #IMPLIED
">"


Thanks for taking a look at it!

- Marc
Lord Inar is offline   #2 Reply With Quote
zarlor
Senior Member
 
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819

Old December 30th, 2013, 10:42 AM
Umm... the XML on the custom output completely throws me for a loop. I'm not completely sure how to mess with it, but I did do a version of it to try and figure out if I could just output everything I could. What I cam up with can be found at https://www.dropbox.com/s/qog55qn94o...eet_savage.zip and you might be able to "reverse engineer" it from that to see if you can figure out the right syntax from there.

I gave up messing with the custom output, though, and have since stuck to modifying a new version of the character sheet file directly to try and get everything to output along with the long descriptions which could be useful for working out how to make some of your own sheets using the native HeroLab format. (And which you can get a copy of at https://www.dropbox.com/s/bt5sh2halfy4sik/Sheets.hl if you're interested in that, too.)

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)
zarlor is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:14 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.