xsl-list
[Top] [All Lists]

Re: grouping + global variable (?) (was re: regexs,

2004-08-13 16:07:01

On Aug 13, 2004, at 6:46 PM, Wendell Piez wrote:

As for modes, this looks like it'll work, but you might want to consider making phase-1 and phase-2 apply all the way down their own template hierarchies, to prevent them from stepping on each other inadvertently.

So you mean to explicitly declare the mode on all the descendent templates; e.g.:

<xsl:template ... mode="phase-2">
    <xsl:apply-templates ... mode="phase-2"/>
</xsl:template>

... and so forth?

I hope this helps

Yup; thanks!

Bruce



<Prev in Thread] Current Thread [Next in Thread>