string-maxwords

<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/string.xsl" />

<xsl:call-template name="string-maxwords">
    <xsl:with-param name="value" select="$value" />
    <xsl:with-param name="max" select="$max" />
</xsl:call-template>

TEST 1 : PASS
string-maxwords :
– value = what’s the fuss
– max = 2

result :
what’s the…


TEST 2 : PASS
string-maxwords :
– value = what’s the big idea?
– max = 3

result :
what’s the big…