Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<xsl:template name="getLastToken">
<xsl:param name="tokens"/>
<xsl:variable name="cropped" select="substring-after($tokens,'.')"/>
<xsl:choose>
<xsl:when test="contains($cropped,'.')">
<xsl:call-template name="getLastToken">
<xsl:with-param name="tokens" select="$cropped"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$cropped"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="getLastToken">
<xsl:param name="tokens"/>
<xsl:variable name="cropped" select="substring-after($tokens,'.')"/>
<xsl:choose>
<xsl:when test="not(contains($tokens,'.'))">
<xsl:value-of select="$tokens"/>
</xsl:when>
<xsl:when test="not(contains($cropped,'.'))">
<xsl:value-of select="$cropped"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="getLastToken">
<xsl:with-param name="tokens" select="$cropped"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>