strings:join

Previous Next

Concatenates, in document order, the string values found in a node set identified by an XPath expression.

Syntax

strings:join( xpath-expression )

 

Example

select uscsxsl.blend(
'<root
   xmlns:pc="Processing.Command"
   xmlns:strings="USoft:Strings"
   pc:hideme="true"
 
>
     <pc:defs><a>We</a><b>say</b><c h="Hello" w="World"/></pc:defs>
     <pc:value-of select="strings:join(/root/pc:defs/*|/root/pc:defs/*/@*)"/>
 </root>')

The result value is:

WesayHelloWorld

 

 

See also

pc:text