• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Custom output to a .txt file instead of .htm?

wdmartin

Well-known member
I wrote an XSL script that generates BBcode for all of the attack/damage rolls for each creature in a portfolio. It contains this line:

Code:
<xsl:output encoding="utf-8" method="text" />

When I run the script, Hero Lab wants to save the output as a .htm file. After it's saved, the program shell executes the new file, causing it to open up in my browser even though it's plain text and thus renders as a giant unreadable blob.

I can manually change the file extension from "htm" to "txt" in the save dialog, so it's not a huge deal. But that's an extra step I could live without.

Is there anything I can do to the XSL script to signal Hero Lab to use a .txt extension by default in this case?
 
Not that I know of. In fact, I tried changing the ".htm" to ".html" and HL named my file with ".html.htm" at the end?!?! PITN.

"It's the little things that matter most." :D
 
Back
Top