XSLT: add node inner text.
- by nabo
This is a slightly version of other question posted here:
http://stackoverflow.com/questions/2888880/xslt-change-node-inner-text
Imagine i use XSLT to transform the document:
<a>
<b/>
<c/>
</a>
into this:
<a>
<b/>
<c/>
Hello world
</a>
In this case i can't use neither the
<xsl:strip-space elements="*"/>
element or the [normalize-space() != ''] predicate since there is no text in the place where i need to put new text. Any ideas? Thanks.