EXSLT - str:concat

Implementer Page: str.concat.html
Function Package: str.concat.zip

Function Syntax

string str:concat(node-set)

The str:concat function takes a node set and returns the concatenation of the string values of the nodes in that node set. If the node set is empty, it returns an empty string.

Implementations

The following XSLT processors support str:concat:

Implementations of str:concat are available in the following languages:

Examples

Function

The following example shows how to use the str:concat function:

Source

<a>
   <c>Is this EXSLT? No. no</c>
   <c>Is this EXSLT? No. no</c>
   <c>Is this EXSLT? No. no</c>
</a>

Stylesheet

<xsl:template match="/">
   <xsl:value-of select="." />
   <br />
   <xsl:value-of select="/a/c" />
</xsl:template>

http://www.exslt.org/str/functions/concat/index.html last modified 2002-11-12