• 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, need some specific tags

murkatos

New member
Working on a custom output file - can't figure out languages or senses, as they show up in the statblock export. I have tried many permutations of:

Code:
<xsl:apply-templates select="languages/@language"/>
<xsl:apply-templates select="senses"/>

Additionally, is there any way to shorten the text containers for statistics and saves? Right now using:

Code:
  <xsl:template match="save">
   <strong><xsl:value-of select="@name"/>:</strong><xsl:value-of select="@save"/>
    </xsl:template>
and
 <xsl:template match="attribute">
    <strong><xsl:value-of select="@name"/></strong>: <xsl:value-of select="attrvalue/@text"/>(<xsl:value-of select="attrbonus/@text"/>),
    </xsl:template>

These output fill text "Strength" instead of Str, and "Fortitude Save" instead of Fort. Anyone have any pointers, or tackled this before?
 
Back
Top