xsl-list
[Top] [All Lists]

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

2006-03-27 01:57:51

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
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--