string-strip-tags

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

<xsl:call-template name="string-strip-tags">
    <xsl:with-param name="value" select="$value" />
    <xsl:with-param name="allowed_tags" select="$allowed_tags" />
</xsl:call-template>

TEST 1 : PASS
string-strip-tags :
– value = <b>HEY</b><br/><i>there</i>
– allowed_tags =

result :
HEY there


TEST 2 : PASS
string-strip-tags :
– value = <b>HEY</b><br/><i>there</i>
– allowed_tags = <b>

result :
<b>HEY</b> there


TEST 3 : PASS
string-strip-tags :
– value = <b>HEY</b><br/><i>there</i>
– allowed_tags = <i>

result :
HEY <i>there</i>