Subject: Re: creating nodes using multiple templates/modes
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 27 Mar 2006 10:16:03 +0200 (CEST)
|
Rene Ladan wrote:
> David Carlisle wrote:
> > <xsl:variable name="x">
> > <xsl:apply-templates mode="a"/>
> > </xsl:variable>
> > <xsl:apply-templates select="$x" mode="b"/>
> But what if x is built using multiple XSLT templates and
> multiple XSLT templates need to modify x (independently) in the
> second phase?
Just define these templates with @mode="b". And as David said, "x"
never will be modified.
Regards,
--drkm
___________________________________________________________________________
Nouveau : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com
|