Subject: Re: xsl:sequence
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 9 Aug 2006 14:23:54 +0200 (CEST)
|
tom tom wrote:
> OK and I've just discovered that <xsl:sequence select="foo/text()"/>
> also returns "a c".
No, it returns ("a ", "c") [with an ad-hoc representation of
sequences]. This, for example if attached to a result tree, may seems
to "do the same thing than xsl:value-of", but it doesn't.
xsl:value-of creates a new text node, xsl:sequence returns a
sequence.
Regards,
--drkm
___________________________________________________________________________
Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences.
http://fr.answers.yahoo.com
|