xsl-list
[Top] [All Lists]

Re: [xsl] creating nodes using multiple templates/modes

2006-03-27 01:16:23
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 : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--