stk:text.process(function)

Replaces newlines with paragraphs.

element()*stk:text.process
  1. xs:stringtext

Examples

Input

<xsl:call-template name="stk:text.process">
    <xsl:with-param name="text" select="'this&#13;is&#13;a&#13;test'"/>
</xsl:call-template>

Result

<p>this</p><p>is</p><p>a</p><p>test</p>

Parameters

text
Type
xs:string