This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Content constructors and sequences



>
>   (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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]