This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Content constructors and sequences
- From: "Kevin Jones" <kjouk at yahoo dot co dot uk>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 10 Jan 2002 18:32:26 -0000
- Subject: RE: [xsl] Content constructors and sequences
- Reply-to: xsl-list at lists dot mulberrytech dot com
>
> (1, 2, 3)
>
> If you did:
>
> <xsl:copy-of select="$foo" />
>
> you'd get a text node whose string value was "123".
>
> If you did:
>
> <xsl:value-of select="$foo[1]" />
> <xsl:value-of select="$foo[2]" />
> <xsl:value-of select="$foo[3]" />
>
> you'd also get a text node whose string value was "123" - (each
> xsl:value-of creates a separate text node, but consecutive text nodes
> are always combined into one in XSLT).
Wow, I don't know how long I have thought that these are separate nodes. I
guess it never made any difference for me. Thanks for the correction.
Kev.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list