pc:text

Previous Next

Concatenates all the text nodes found in its contents (including whitespace characters) and returns the result as a string.

Syntax

<pc:text>
  contents
</pc:text>

pc:text does not support the disable-output-escaping attribute, unlike pc:value-of (and XSLT's <xsl:text> and <xsl:value-of>).

 

Example

<pc:text>
   <d att="text1">text2</d>  <e>text3</e>
   text4
</pc:text>

The return value is:

text2text3
   text4