This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
body { | |
font-family: 'Open Sans', sans-serif; | |
font-weight: 400; | |
color: #6b7770; | |
font-size: 11.5pt; | |
line-height: 2em; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://aaronland.info/xsl/string/truncate-phrase --> | |
<!-- This template will truncate a phrase at a maximum length, with the option to truncate on a word boundary --> | |
<xsl:template name="globalReplace"> | |
<xsl:param name="outputString"/> | |
<xsl:param name="target"/> | |
<xsl:param name="replacement"/> | |
<xsl:choose> | |
<xsl:when test="contains($outputString,$target)"> | |
<xsl:value-of select="concat(substring-before($outputString,$target),$replacement)"/> | |
<xsl:call-template name="globalReplace"> |