On Fri, Jan 28, 2005 at 06:00:12PM +0100, Kasimier Buchcik wrote:
Just out of curiosity; the spec says:
"text() selects all text node children of the context node"
"Function: number count(node-set)
The count function returns the number of nodes in the argument
node-set."
Why does this build 1 huge text node?
All <xsl:value-of> translate into adding some text to the current document,
i.e. adding a text node at the current insertion point.
And all that stylesheet does is to accumulate <xsl:value-of> on all matching
nodes.