Re: [xsl] Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Issue 1511

Subject: Re: [xsl] Re: xsl-list Digest 28 May 2008 05:10:01 -0000 Issue 1511
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 29 May 2008 15:10:58 +0200 (CEST)
Andrew Welch wrote:

> I wonder what the reason is for merging adjacent text nodes?

  When you are constructing your text node, you may use several
instructions to do so, each returning text nodes:

    <xsl:value-of .../>
    <xsl:text>...</xsl:text>
    <xsl:value-of .../>

  But when they are added to the parent node, they are merged into one
single text node.  And here you don't want anything else to occur.  I
think the above rule is then consistent with the fact that you never
have adjacent text nodes in XDM.

  Regards,

--drkm






















__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicitis 
http://mail.yahoo.fr Yahoo! Mail 

Current Thread