# 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`:

- 4XSLT, from 4Suite. (version 0.12.0a3)
- libxslt from Daniel Veillard et al. (version 1.0.19)

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

- Javascript (by Chris Bayes)
- Msxsl (by Chris Bayes)

## 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