In article <>,
Sebastian Kerekes <> wrote:
[...]
% <xsl:value-of select="text()"/>
This will retrieve the value of text nodes which are immediate
children of the current node (in this case, the node being
considered by the for-each).
What you want to do is cast the current node to a string. As it
happens, this is precisely what value-of does, so you could just
use
<xsl:value-of select="."/>
but this explicit should also do what you want
<xsl:value-of select="string(.)"/>
In either case, the value that gets copied to the result tree is
the concatenation of all text nodes which are descendents of the
current node.
--
Patrick TJ McPhee
East York Canada