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

Subject: Re: [xsl] creating nodes using multiple templates/modes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 27 Mar 2006 09:52:11 +0100
> But what if x is built using multiple XSLT templates and multiple XSLT
> templates need to modify x (independently) in the second phase?

That's the usual case, yes.

> Do I need two scripts for that (one to build x, and one to modify x) ?

No, just put the templates for the first phase in mode a (applied with
<xsl:apply-templates mode="a"/> and the templates for the second phase
in mode b, applied with <xsl:apply-templates mode="b"/>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread