| Nic Miloslav Example 45 | KEYWORDS EXAMPLES AUTHORS |
|---|
The concat function returns the concatenation of its arguments.
| XML | HOME XSL 1 |
|---|
| <xslTutorial > |
| <text>Start</text> |
| <text>Body</text> |
| <text>Finish</text> |
| </xslTutorial> |
| XSL 1 | HOME XML HTML 1 OUTPUT 1 |
|---|
| <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' > |
| <xsl:variable name="T" select="concat(//text[1],' - ',//text[2],' - ',//text[3])"/> |
| <xsl:template match="/"> |
| <P><xsl:value-of select="$T"/></P> |
| </xsl:template> |
| </xsl:stylesheet> |
| HTML 1 | HOME XML XSL 1 OUTPUT 1 |
|---|
| <HTML> |
| <HEAD> </HEAD> |
| <BODY> |
| <P>Start - Body - Finish</P> </BODY> </HTML> |
| OUTPUT 1 | HOME XML XSL 1 HTML 1 |
|---|
Start - Body - Finish