Subject: Re: [xsl] xsl:sequence From: "andrew welch" <andrew.j.welch@xxxxxxxxx> Date: Tue, 8 Aug 2006 14:29:59 +0100 |
> right? Right. What did i say...I check sent mail.... ah so I got _both_ wrong. <xsl:value-of select="foo"/> generates a text node with value "one two" should, as you say, be "onetwo" (actually it was right when I wrote it, I changed the input example before sending:-) but then my description of the <xsl:value-of select="foo/text()"/> was also wrong, as described in another thread. I give up.
<root> <foo>text</foo> <foo>text</foo> </root>
This is because it's the string value of the <root> element - a sequence of length one.
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 " ").
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:sequence, David Carlisle | Thread | Re: [xsl] xsl:sequence, Florent Georges |
Re: [xsl] xsl:sequence, David Carlisle | Date | Re: [xsl] xsl:sequence, Florent Georges |
Month |