[Home] [By Thread] [By Date] [Recent Entries]
On 8/8/06, David Carlisle <davidc@xxxxxxxxx> wrote:
I think this is a good example: <root> <foo>text</foo> <foo>text</foo> </root> <xsl:value-of select="/root"/> produces "texttext" (with whitespace only nodes stripped) This is because it's the string value of the <root> element - a sequence of length one. <xsl:value-of select="/root/foo"/> produces "text text" This is because it's the string value of each <foo> element - a sequence of length two. As there are two items in the sequence they are concatenated using the optional separator (the default being " ").
|

Cart



